diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2012-11-22 03:27:04 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2012-11-22 03:27:04 +0000 |
commit | 8cabfc80b2879767f8dc91b2878358dd9cabd07c (patch) | |
tree | cfcca4fccbec1668d1448a8da8c1d8b72da49ae7 /math | |
parent | - Use new options framework. (diff) |
- Use new options framework.
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=307634
Diffstat (limited to 'math')
-rw-r--r-- | math/sage/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/math/sage/Makefile b/math/sage/Makefile index 3b4106611f9b..e4f68de4c3f9 100644 --- a/math/sage/Makefile +++ b/math/sage/Makefile @@ -21,7 +21,8 @@ LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas \ # 387 option: this only makes a difference for the amd64 architecture. Causes # the internal floating point calculations to be performed with extended # precision. -OPTIONS= 387 "Use 387 instead of SSE FPU" Off +OPTIONS_DEFINE= 387 +387_DESC= Use 387 instead of SSE FPU .include <bsd.port.options.mk> @@ -158,7 +159,7 @@ post-install: BROKEN= POSIX semaphores are required, and the support only works in FreeBSD 7-STABLE and later .endif -.if defined(WITH_387) && ${ARCH} == amd64 +.if ${PORT_OPTIONS:M387} && ${ARCH} == amd64 FPM_FLAG= -mfpmath=387 .else FPM_FLAG= |