aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2010-05-22 12:53:44 +0000
committerThierry Thomas <thierry@FreeBSD.org>2010-05-22 12:53:44 +0000
commit1a1bebc598ed560c035f9b69eb87f936e8816935 (patch)
tree0550a93003f13045a6ff987abe48de9a6c35d11a /math
parent856fde3123f648e655e7586f23ddf6d923d2cec9 (diff)
downloadports-1a1bebc598ed560c035f9b69eb87f936e8816935.tar.gz
ports-1a1bebc598ed560c035f9b69eb87f936e8816935.zip
Trying to fix on amd64.
Reported by: pointyhat via Pav
Notes
Notes: svn path=/head/; revision=254830
Diffstat (limited to 'math')
-rw-r--r--math/metis-edf/Makefile11
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>