diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-03-19 04:20:12 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-03-19 04:20:12 +0000 |
commit | 10e9ee4f10d11c89ce6acacb2a14895b5cf4c319 (patch) | |
tree | 59d89caa096eadbf383e94ff3496489231c734fe /math/atlas-devel | |
parent | 23c0b4c300fcde9701373912c829ec9ccbcf02ab (diff) | |
download | ports-10e9ee4f10d11c89ce6acacb2a14895b5cf4c319.tar.gz ports-10e9ee4f10d11c89ce6acacb2a14895b5cf4c319.zip |
Notes
Diffstat (limited to 'math/atlas-devel')
-rw-r--r-- | math/atlas-devel/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile index a5fe33e93454..e184cfa2e292 100644 --- a/math/atlas-devel/Makefile +++ b/math/atlas-devel/Makefile @@ -50,7 +50,13 @@ post-patch: @(cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/alpha-patch) .endif +.if !defined(PICFLAG) +.if ${MACHINE_ARCH} == "sparc64" PICFLAG=-fPIC +.else +PICFLAG=-fpic +.endif +.endif 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" |