diff options
author | marino <marino@FreeBSD.org> | 2015-03-25 15:37:15 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-03-25 15:37:15 +0800 |
commit | e59c5e2e130d16dc7ae04b960115c07010eaed3a (patch) | |
tree | 3417a6e6d1d00e03135a08921179dc70e19d3610 /math/spooles | |
parent | 4d9897388d9ae31e9dd0adf6df18eba800f8b154 (diff) | |
download | freebsd-ports-gnome-e59c5e2e130d16dc7ae04b960115c07010eaed3a.tar.gz freebsd-ports-gnome-e59c5e2e130d16dc7ae04b960115c07010eaed3a.tar.zst freebsd-ports-gnome-e59c5e2e130d16dc7ae04b960115c07010eaed3a.zip |
math category: Remove $PTHREAD_LIBS
Note that math/PDL did not pass stage-QA before, so it was fixed.
approved by: PTHREAD blanket
Diffstat (limited to 'math/spooles')
-rw-r--r-- | math/spooles/Makefile | 8 | ||||
-rw-r--r-- | math/spooles/files/patch-Make.inc | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/math/spooles/Makefile b/math/spooles/Makefile index d82c502705e7..95f628a6b49b 100644 --- a/math/spooles/Makefile +++ b/math/spooles/Makefile @@ -60,8 +60,12 @@ do-extract: post-patch: ${MKDIR} ${WRKSRC}_SHARED ; ${CP} -r ${WRKSRC}/* ${WRKSRC}_SHARED - @${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' -e 's+%%CFLAGS%%+${PTHREAD_CFLAGS} ${CFLAGS}+g;' -e 's+%%PTHREAD_LIBS%%+${PTHREAD_LIBS}+g;' -e 's+%%CC%%+${CC}+g;' ${WRKSRC}/Make.inc - @${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' -e 's+%%CFLAGS%%+${CFLAGS} ${PTHREAD_CFLAGS} ${PICFLAG}+g;' -e 's+%%PTHREAD_LIBS%%+${PTHREAD_LIBS}+g;' -e 's+%%CC%%+${CC}+g;' ${WRKSRC}_SHARED/Make.inc + @${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' \ + -e 's+%%CFLAGS%%+${CFLAGS}+g;' \ + -e 's+%%CC%%+${CC}+g;' ${WRKSRC}/Make.inc + @${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' \ + -e 's+%%CFLAGS%%+${CFLAGS} ${PICFLAG}+g;' \ + -e 's+%%CC%%+${CC}+g;' ${WRKSRC}_SHARED/Make.inc do-build: .if defined(WITH_MPI) diff --git a/math/spooles/files/patch-Make.inc b/math/spooles/files/patch-Make.inc index 142e44598f05..8bece8f33248 100644 --- a/math/spooles/files/patch-Make.inc +++ b/math/spooles/files/patch-Make.inc @@ -42,7 +42,7 @@ # THREAD_LIBS = -# THREAD_LIBS = -D_REENTRANT=199506L -lpthread - THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread -+THREAD_LIBS = -D_REENTRANT=199506L %%PTHREAD_LIBS%% ++THREAD_LIBS = -D_REENTRANT=199506L -lpthread +# THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread # THREAD_LIBS = -lpthread # |