aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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