Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2012 23:02:18 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        joemann@beefree.free.de
Subject:   ports/166524: [PATCH] ports-mgmt/porttools: add OPTIONS
Message-ID:  <20120330190218.B9FDE49A@hades.panopticon>
Resent-Message-ID: <201203301910.q2UJACG1068427@freefall.freebsd.org>

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

>Number:         166524
>Category:       ports
>Synopsis:       [PATCH] ports-mgmt/porttools: add OPTIONS
>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:   Fri Mar 30 19:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 10 01:33:18 MSK 2012
>Description:
Add OPTIONS

Port maintainer (joemann@beefree.free.de) is cc'd.

Generated with FreeBSD Port Tools 0.99_4 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- porttools-0.99_4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/ports-mgmt/porttools/Makefile,v
retrieving revision 1.30
diff -u -u -r1.30 Makefile
--- Makefile	4 Mar 2012 12:08:43 -0000	1.30
+++ Makefile	30 Mar 2012 19:00:47 -0000
@@ -18,10 +18,6 @@
 		cdiff:${PORTSDIR}/textproc/cdiff \
 		sudo:${PORTSDIR}/security/sudo
 
-.if !defined(WITHOUT_NEWFILE)
-RUN_DEPENDS+=	newfile:${PORTSDIR}/devel/newfile
-.endif
-
 .if !defined(NOPORTDOCS)
 INSTALL_TARGET=	install install-docs
 .endif
@@ -40,4 +36,12 @@
 MAN1=		port.1
 MAN5=		porttools.5
 
+OPTIONS=	NEWFILE "Enable newfile support" on
+
+.include <bsd.port.options.mk>
+
+.if !defined(WITHOUT_NEWFILE)
+RUN_DEPENDS+=	newfile:${PORTSDIR}/devel/newfile
+.endif
+
 .include <bsd.port.mk>
--- porttools-0.99_4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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