Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2012 12:34:03 -0700 (PDT)
From:      <douglas@douglasthrift.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        douglas@douglasthrift.net
Subject:   ports/169184: Update port: sysutils/hardlink Convert to Options NG
Message-ID:  <201206171934.q5HJY3cm059419@slowhand.douglasthrift.net>
Resent-Message-ID: <201206171940.q5HJeEYG094575@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206171934.q5HJY3cm059419>