ports/169184: Update port: sysutils/hardlink Convert to Options NG

douglas at douglasthrift.net douglas at douglasthrift.net
Sun Jun 17 19:40:14 UTC 2012


>Number:         169184
>Category:       ports
>Synopsis:       Update port: sysutils/hardlink Convert to Options NG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 17 19:40:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 8.0-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD slowhand.douglasthrift.net 8.0-RELEASE-p6 FreeBSD 8.0-RELEASE-p6 #2: Wed Sep 28 21:40:42 PDT 2011 user at jail8.johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64
>Description:
Converted to Options NG and massaged portlint's warning about LIB_DEPENDS.
>How-To-Repeat:
>Fix:
--- hardlink.2012-06-16T234233Z.diff begins here ---
diff -Nrux .svn -x work /usr/ports/sysutils/hardlink/Makefile hardlink/Makefile
--- /usr/ports/sysutils/hardlink/Makefile	2012-05-18 02:27:54.000000000 -0700
+++ hardlink/Makefile	2012-06-16 12:29:04.000000000 -0700
@@ -23,7 +23,9 @@
 PLIST_FILES=	bin/hardlink
 WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
 
-OPTIONS=	PCRE "Use PCRE for regular expressions" On
+OPTIONS_DEFINE=	PCRE
+
+OPTIONS_DEFAULT=PCRE
 
 PORTSCOUT=	limit:(?<!~rc[0-9])$$
 
@@ -32,7 +34,7 @@
 .if defined(WITHOUT_PCRE)
 MAKE_ENV+=	ENABLE=
 .else
-LIB_DEPENDS+=	pcreposix.0:${PORTSDIR}/devel/pcre
+LIB_DEPENDS+=	pcreposix:${PORTSDIR}/devel/pcre
 .endif
 
 do-install:
--- hardlink.2012-06-16T234233Z.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list