ports/172524: ports-mgmt/porttools: Use Options-NG
Steven Kreuzer
skreuzer at FreeBSD.org
Tue Oct 9 22:30:09 UTC 2012
>Number: 172524
>Category: ports
>Synopsis: ports-mgmt/porttools: Use Options-NG
>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: Tue Oct 09 22:30:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Steven Kreuzer
>Release: FreeBSD 8.2-RELEASE-p9 i386
>Organization:
>Environment:
FreeBSD clamps.exit2shell.com 8.2-RELEASE-p9 FreeBSD 8.2-RELEASE-p9 #0: Mon Jun 11 22:27:05 UTC 2012
>Description:
Change port to use the new Options-NG framework
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 305599)
+++ Makefile (working copy)
@@ -36,11 +36,14 @@
MAN1= port.1
MAN5= porttools.5
-OPTIONS= NEWFILE "Enable newfile support" on
+OPTIONS_DEFINE= NEWFILE
+OPTIONS_DEFAULT= NEWFILE
+NEWFILE_DESC= Enable newfile support
+
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NEWFILE)
+.if ${PORT_OPTIONS:MNEWFILE}
RUN_DEPENDS+= newfile:${PORTSDIR}/devel/newfile
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list