ports/171706: [PATCH] devel/iniparser: Fixed fatal error an Licence place, removed pkg-plist
nemysis
nemysis at gmx.ch
Mon Sep 17 12:10:07 UTC 2012
>Number: 171706
>Category: ports
>Synopsis: [PATCH] devel/iniparser: Fixed fatal error an Licence place, removed pkg-plist
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 17 12:10:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
Frorm this Port
/usr/local/ports/local/patch/devel/iniparser> " portlint -A
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
WARN: Makefile: new ports should not set PORTREVISION.
WARN: Makefile: only one MASTER_SITE configured. Consider adding additional mirrors.
0 fatal errors and 3 warnings found.
Here are fatal error and Licence is on wrong place.
/usr/ports/devel/iniparser> " portlint -A
WARN: /usr/ports/devel/iniparser/pkg-plist: There are only 5 items in the plist. Consider using PLIST_FILES instead of pkg-plist when installing less than 6 items.
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
WARN: Makefile: only one MASTER_SITE configured. Consider adding additional mirrors.
FATAL: Makefile: extra item "USE_LDCONFIG" placed in the LICENSE section.
WARN: Makefile: "LICENSE_FILE" has to appear earlier.
WARN: Makefile: "LICENSE" has to appear earlier.
WARN: Makefile: "LICENSE_FILE" has to appear earlier.
1 fatal error and 6 warnings found.
Removed file(s):
- pkg-plist
Port maintainer (kevlo at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- iniparser-3.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/iniparser/Makefile ./Makefile
--- /usr/ports/devel/iniparser/Makefile 2012-09-01 08:45:23.000000000 +0200
+++ ./Makefile 2012-09-17 13:55:35.000000000 +0200
@@ -7,19 +7,26 @@
PORTNAME= iniparser
PORTVERSION= 3.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://ndevilla.free.fr/iniparser/
MAINTAINER= kevlo at FreeBSD.org
-COMMENT= A free stand-alone ini file parsing library
-
-USE_LDCONFIG= yes
+COMMENT= Free stand-alone ini file parsing library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+USE_LDCONFIG= yes
+
WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST_FILES= include/dictionary.h \
+ include/iniparser.h \
+ lib/libiniparser.a \
+ lib/libiniparser.so \
+ lib/libiniparser.so.0
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE}
diff -ruN --exclude=CVS /usr/ports/devel/iniparser/pkg-plist ./pkg-plist
--- /usr/ports/devel/iniparser/pkg-plist 2011-07-01 08:38:55.000000000 +0200
+++ ./pkg-plist 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-include/dictionary.h
-include/iniparser.h
-lib/libiniparser.a
-lib/libiniparser.so
-lib/libiniparser.so.0
--- iniparser-3.1_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list