aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-26 16:57:36 +0800
committermarino <marino@FreeBSD.org>2015-03-26 16:57:36 +0800
commit3921e23ea40517f691575cdc6a2845f132ccc57c (patch)
treef5e527e757ebafed697e95af794acbc91cca2b74
parentb7e5210232f95bc6d62c1a889e29b20df47c300a (diff)
downloadfreebsd-ports-gnome-3921e23ea40517f691575cdc6a2845f132ccc57c.tar.gz
freebsd-ports-gnome-3921e23ea40517f691575cdc6a2845f132ccc57c.tar.zst
freebsd-ports-gnome-3921e23ea40517f691575cdc6a2845f132ccc57c.zip
Mk: remove PTHREAD_LIBS and PTHREAD_CFLAGS variable
For bsd.gecko.mk, replace PTHREAD_LIBS with "-pthread", the same value it was using before. Approved by: PTHREAD blanket (completes task) Approved by: portmgr (bapt)
-rw-r--r--Mk/bsd.gecko.mk4
-rw-r--r--Mk/bsd.port.mk3
2 files changed, 2 insertions, 5 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index f2b18c8828aa..e292071ba115 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -523,8 +523,8 @@ gecko-post-patch:
${MOZSRC}/configure \
${WRKSRC}/configure; do \
if [ -f $$f ] ; then \
- ${REINPLACE_CMD} -Ee 's|-lc_r|${PTHREAD_LIBS}|g ; \
- s|-l?pthread|${PTHREAD_LIBS}|g ; \
+ ${REINPLACE_CMD} -Ee 's|-lc_r|-pthread|g ; \
+ s|-l?pthread|-pthread}|g ; \
s|echo aout|echo elf|g ; \
s|/usr/X11R6|${LOCALBASE}|g' \
$$f; \
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 4519d38d8d13..fa287e777308 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2069,9 +2069,6 @@ BUILD_FAIL_MESSAGE+= Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reportin
.include "${PORTSDIR}/Mk/bsd.ccache.mk"
-PTHREAD_CFLAGS?=
-PTHREAD_LIBS?= -pthread
-
FETCH_ENV?= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1
FETCH_BINARY?= /usr/bin/fetch
FETCH_ARGS?= -Fpr