diff options
author | maho <maho@FreeBSD.org> | 2004-03-20 05:20:46 +0000 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2004-03-20 05:20:46 +0000 |
commit | 2d5b6fe396061bcdeb7c086500e3ddfd56247444 (patch) | |
tree | d8cd045b2a7e6505715cc6bf4413330d7fec033e | |
parent | afd4ea67ebda8b8e0ec0942483b7334d6c882706 (diff) | |
download | FreeBSD-ports-2d5b6fe396061bcdeb7c086500e3ddfd56247444.zip FreeBSD-ports-2d5b6fe396061bcdeb7c086500e3ddfd56247444.tar.gz |
Do not hardcord PICFLAG
Submitted by: ru
-rw-r--r-- | biology/pymol/Makefile | 8 | ||||
-rw-r--r-- | math/atlas-devel/Makefile | 8 | ||||
-rw-r--r-- | math/atlas/Makefile | 8 |
3 files changed, 3 insertions, 21 deletions
diff --git a/biology/pymol/Makefile b/biology/pymol/Makefile index d532141..431bf3c 100644 --- a/biology/pymol/Makefile +++ b/biology/pymol/Makefile @@ -28,13 +28,7 @@ USE_PYTHON= yes .include <bsd.port.pre.mk> -.if !defined(PICFLAG) -.if ${MACHINE_ARCH} == "sparc64" -PICFLAG=-fPIC -.else -PICFLAG=-fpic -.endif -.endif +PICFLAG!= ${MAKE} -f bsd.lib.mk -V PICFLAG pre-patch: @${INSTALL_DATA} ${WRKSRC}/setup/Rules.linux ${WRKSRC}/Rules.make diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile index e184cfa..be0fed2 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" diff --git a/math/atlas/Makefile b/math/atlas/Makefile index a3a0fc7..622fefd 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" |