ports/169821: [patch] math/slatec to use the new OPTIONS framework

Anton Shterenlikht mexas at bristol.ac.uk
Fri Jul 13 10:30:03 UTC 2012


>Number:         169821
>Category:       ports
>Synopsis:       [patch] math/slatec to use the new OPTIONS framework
>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:   Fri Jul 13 10:30:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Anton Shterenlikht
>Release:        FreeBSD 10.0-CURRENT ia64
>Organization:
University of Bristol 
>Environment:
System: FreeBSD mech-cluster241.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r237134: Mon Jun 18 09:02:17 BST 2012 root at mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64


	
>Description:

I've tested the patch on amd64, ia64 and sparc64,
seems to work. However, I'm still not sure it's correct,
please check.

	
>How-To-Repeat:
	
>Fix:

--- Makefile.old	2012-03-10 17:57:19.000000000 +0000
+++ Makefile	2012-07-12 22:32:24.000000000 +0100
@@ -33,13 +33,15 @@
 MAKE_ENV+=	LDADD="${LDADD}" SHLIB_MAJOR="${SHLIB_MAJOR}" \
 		SRCCONF="${SRCCONF}"
 
-OPTIONS=	PROFILE "Build a profiling library" Off
+OPTIONS_DEFINE=	PROFILE
+
+OPTIONS_DEFAULT=
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_PROFILE)
+.if ${PORT_OPTIONS:MPROFILE}
 .if defined(NOPROFILE) || defined(NO_PROFILE) || defined(WITHOUT_PROFILE)
-IGNORE =	you have defined WITH_PROFILE, but have also defined\
+IGNORE =	you have defined PROFILE, but have also defined\
 WITHOUT_PROFILE, NOPROFILE, or NO_PROFILE
 .elif !exists(/usr/lib/libc_p.a)
 IGNORE  =	you have chosen WITH_PROFILE, but have not installed the\
	


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



More information about the freebsd-ports-bugs mailing list