Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2012 11:20:02 +0100 (BST)
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/169821: [patch] math/slatec to use the new OPTIONS framework 
Message-ID:  <201207131020.q6DAK2Yf071049@mech-cluster241.men.bris.ac.uk>
Resent-Message-ID: <201207131030.q6DAU3R7065787@freefall.freebsd.org>

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

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



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