aboutsummaryrefslogtreecommitdiffstats
path: root/math/atlas-devel
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2004-03-20 13:20:46 +0800
committermaho <maho@FreeBSD.org>2004-03-20 13:20:46 +0800
commit2d5b6fe396061bcdeb7c086500e3ddfd56247444 (patch)
treed8cd045b2a7e6505715cc6bf4413330d7fec033e /math/atlas-devel
parentafd4ea67ebda8b8e0ec0942483b7334d6c882706 (diff)
downloadfreebsd-ports-gnome-2d5b6fe396061bcdeb7c086500e3ddfd56247444.tar.gz
freebsd-ports-gnome-2d5b6fe396061bcdeb7c086500e3ddfd56247444.tar.zst
freebsd-ports-gnome-2d5b6fe396061bcdeb7c086500e3ddfd56247444.zip
Do not hardcord PICFLAG
Submitted by: ru
Diffstat (limited to 'math/atlas-devel')
-rw-r--r--math/atlas-devel/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile
index e184cfa2e292..be0fed20477a 100644
--- a/math/atlas-devel/Makefile
+++ b/math/atlas-devel/Makefile
@@ -50,13 +50,7 @@ post-patch:
@(cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/alpha-patch)
.endif
-.if !defined(PICFLAG)
-.if ${MACHINE_ARCH} == "sparc64"
-PICFLAG=-fPIC
-.else
-PICFLAG=-fpic
-.endif
-.endif
+PICFLAG!= ${MAKE} -f bsd.lib.mk -V PICFLAG
ANSWER_i386?= ${PRINTF} "\n\n\n\n\n\n\n\n\n\n"
ANSWER_ia64?= ${PRINTF} "\n\n\n2\n\n\n\n\nf77\n-O2 -static\n\n"