summaryrefslogtreecommitdiff
path: root/math/atlas
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-03-20 05:20:46 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-03-20 05:20:46 +0000
commit308503d5509837ea2fe719507de66225198a7958 (patch)
tree3d11c473ae9ecadb22f07c5265e1be3ba858caab /math/atlas
parentA Density functional software. This software has a unique design (diff)
Do not hardcord PICFLAG
Submitted by: ru
Diffstat (limited to 'math/atlas')
-rw-r--r--math/atlas/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/math/atlas/Makefile b/math/atlas/Makefile
index a3a0fc74d800..622fefd2a4b4 100644
--- a/math/atlas/Makefile
+++ b/math/atlas/Makefile
@@ -49,13 +49,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"