Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2013 05:36:34 GMT
From:      Jason Helfman <jgh@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/176940: [patch] math/fpc-fftw: adoption of optionsNG for math/fpc-*, and trim historical header
Message-ID:  <201303140536.r2E5aYTI070585@freefall.freebsd.org>
Resent-Message-ID: <201303140540.r2E5e3me070765@freefall.freebsd.org>

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

>Number:         176940
>Category:       ports
>Synopsis:       [patch] math/fpc-fftw: adoption of optionsNG for math/fpc-*, and trim historical header
>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:   Thu Mar 14 05:40:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r247807: Mon Mar 4 19:35:47 UTC 2013 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64


	
>Description:
adoption of optionsNG for math/fpc-*, and trim historical header
>How-To-Repeat:
	
>Fix:

Index: math/fpc-fftw/Makefile
===================================================================
--- math/fpc-fftw/Makefile	(revision 314130)
+++ math/fpc-fftw/Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	fpc-fftw
-# Date created:		2006-09-05
-# Whom:			Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
-#
+# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTREVISION=	0
 CATEGORIES=	math lang
@@ -18,6 +14,8 @@
 WRKUNITDIR=	${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
 EXTRACTUNITDIR+=	${WRKUNITDIR}
 
-OPTIONS=	FFTW3	"Install FFTW3 library"	on
+OPTIONS_DEFINE=	FFTW3
+FFTW3_DESC=	Install FFTW3 library
+OPTIONS_DEFAULT=	FFTW3
 
 .include "${MASTERDIR}/Makefile"
Index: math/fpc-gmp/Makefile
===================================================================
--- math/fpc-gmp/Makefile	(revision 314130)
+++ math/fpc-gmp/Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	fpc-gmp
-# Date created:		2010-04-22
-# Whom: 		Christopher Key <cjk32@cam.ac.uk>
-#
+# Created by: Christopher Key <cjk32@cam.ac.uk>
 # $FreeBSD$
-#
 
 PORTREVISION=	0
 CATEGORIES=	math lang
@@ -18,6 +14,8 @@
 WRKUNITDIR=	${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
 EXTRACTUNITDIR+=	${WRKUNITDIR}
 
-OPTIONS=	GMP	"Install gmp library"	on
+OPTIONS_DEFINE=	GMP
+GMP_DESC=	Install gmp library
+OPTIONS_DEFAULT=	GMP
 
 .include "${MASTERDIR}/Makefile"
>Release-Note:
>Audit-Trail:
>Unformatted:



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