diff options
author | maho <maho@FreeBSD.org> | 2006-03-15 14:08:20 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2006-03-15 14:08:20 +0800 |
commit | 8daa97be85fe0122467820457bffa48fe981975d (patch) | |
tree | 0fe45ab35e9edcf0ed305f6a00f06621c4b12d69 | |
parent | a845ae3e3f07cae8e6285cce3a8e6708ccef9655 (diff) | |
download | freebsd-ports-gnome-8daa97be85fe0122467820457bffa48fe981975d.tar.gz freebsd-ports-gnome-8daa97be85fe0122467820457bffa48fe981975d.tar.zst freebsd-ports-gnome-8daa97be85fe0122467820457bffa48fe981975d.zip |
Minor enhancements.
port should send CFLAGS, adding -fPIC for amd64.
PR: 93612
Submitted by: Pedro F. Giffuni <giffunip@asme.org>
-rw-r--r-- | math/spooles/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/math/spooles/Makefile b/math/spooles/Makefile index f31593f4e408..d88ef7e7f5df 100644 --- a/math/spooles/Makefile +++ b/math/spooles/Makefile @@ -47,6 +47,12 @@ PLIST_SUB+= MPI="@comment " CONFLICTS= spooles-mpich-2* .endif +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif + .SILENT: pre-everything:: @@ -63,9 +69,9 @@ post-patch: post-build: .if defined(WITH_MPI) - @(cd ${WRKSRC}/MPI/src; ${GMAKE} -f makeGlobalLib) + @(cd ${WRKSRC}/MPI/src; ${SETENV} ${MAKE_ENV} ${GMAKE} -f makeGlobalLib) .else - @(cd ${WRKSRC}/MT/src; ${GMAKE} -f makeGlobalLib) + @(cd ${WRKSRC}/MT/src; ${SETENV} ${MAKE_ENV} ${GMAKE} -f makeGlobalLib) .endif do-install: @@ -97,4 +103,4 @@ do-install: ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/ReferenceManual.ps.gz ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |