diff options
author | thierry <thierry@FreeBSD.org> | 2010-05-22 20:53:44 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2010-05-22 20:53:44 +0800 |
commit | 19167382759881beb51c2c55154111a1a2752040 (patch) | |
tree | 8df851e3c8ec97ec8212424c1f157bcef9bf8986 /math | |
parent | ec9d6fd4b7bc64dae503aa36eadf4bd94936b2cb (diff) | |
download | freebsd-ports-gnome-19167382759881beb51c2c55154111a1a2752040.tar.gz freebsd-ports-gnome-19167382759881beb51c2c55154111a1a2752040.tar.zst freebsd-ports-gnome-19167382759881beb51c2c55154111a1a2752040.zip |
Trying to fix on amd64.
Reported by: pointyhat via Pav
Diffstat (limited to 'math')
-rw-r--r-- | math/metis-edf/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/math/metis-edf/Makefile b/math/metis-edf/Makefile index d6fe9ce77d1a..bfbdaa857db3 100644 --- a/math/metis-edf/Makefile +++ b/math/metis-edf/Makefile @@ -31,6 +31,7 @@ REINPLACE_ARGS= -i "" USE_FORTRAN= yes USE_LDCONFIG= yes FFLAGS+= -O2 +PICFLAG?= -fPIC WRKSRC= ${WRKDIR}/${PORTNAME:C/-/_/}-${PORTVERSION:R} @@ -41,14 +42,6 @@ MACHINEARCH= ${ARCH} FORTRANLIBS= -lgfortranbegin -lgfortran GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../.. -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -PICFLAG?= -fPIC -.else -PICFLAG?= -fpic -.endif - post-extract: (cd ${WRKDIR} && \ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${PORTNAME:C/-/_/}-${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}) @@ -93,4 +86,4 @@ post-install: @${ECHO_MSG} "===> Test file installed in ${EXAMPLESDIR}." .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |