aboutsummaryrefslogtreecommitdiff
path: root/cad/scotch
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-02-07 14:57:49 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-02-07 14:57:49 +0000
commit5316d6995c9eab3e2b92e7994330d27312295f13 (patch)
treee9433273f8212799f1369d579fb61a5ee351bcda /cad/scotch
parent9e9d988f842033e039bc66c3548d6f02510ffd5c (diff)
downloadports-5316d6995c9eab3e2b92e7994330d27312295f13.tar.gz
ports-5316d6995c9eab3e2b92e7994330d27312295f13.zip
Notes
Diffstat (limited to 'cad/scotch')
-rw-r--r--cad/scotch/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cad/scotch/Makefile b/cad/scotch/Makefile
index dd4aad2f68f0..e9edf114c12c 100644
--- a/cad/scotch/Makefile
+++ b/cad/scotch/Makefile
@@ -55,7 +55,7 @@ PKGMESSAGE= ${WRKSRC}/LICENSE_en.txt
LIB_DEPENDS+= mpich.2:${PORTSDIR}/net/mpich2
ALL_TARGET+= ptscotch
-MAKE_ENV+= PATH=${PATH}:${LOCALBASE}/mpich2/bin PTHREAD_LIBS=${PTHREAD_LIBS}
+MAKE_ENV+= PATH=${PATH}:${LOCALBASE}/mpich2/bin
INCS+= ptscotch.h ptscotchf.h
LIBS+= libptesmumps.a libptscotch.a libptscotcherr.a libptscotcherrexit.a \
@@ -83,7 +83,7 @@ pre-everything::
.endif
pre-configure:
- ${REINPLACE_CMD} -e 's/-lthread/$(PTHREAD_LIBS)/;s/-lpthread/$(PTHREAD_LIBS)/' \
+ ${REINPLACE_CMD} -e 's/-lthread/-pthread/;s/-lpthread/-pthread/' \
-e 's/CLIBFLAGS =/CLIBFLAGS = -fPIC/' \
${WRKSRC}/src/Make.inc/Makefile.inc.${MF}_pc_freebsd
${LN} -sf ${WRKSRC}/src/Make.inc/Makefile.inc.${MF}_pc_freebsd \