aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-25 01:09:58 +0800
committermarino <marino@FreeBSD.org>2015-03-25 01:09:58 +0800
commitce2ad9703644a4533d2cbe4ed4ad08a77246d638 (patch)
tree8bff0e951ded629b0a9a867dfad08db840b0458a /misc
parent3a4898cd58932f3e8f185cc796ff3f1ce801b5cd (diff)
downloadfreebsd-ports-gnome-ce2ad9703644a4533d2cbe4ed4ad08a77246d638.tar.gz
freebsd-ports-gnome-ce2ad9703644a4533d2cbe4ed4ad08a77246d638.tar.zst
freebsd-ports-gnome-ce2ad9703644a4533d2cbe4ed4ad08a77246d638.zip
5 ports categories: Remove $PTHREAD_LIBS
Categories: irc, x11-clocks, benchmarks, misc, textproc approved by: PTHREAD blanket
Diffstat (limited to 'misc')
-rw-r--r--misc/mbuffer/Makefile3
-rw-r--r--misc/posixtestsuite/Makefile6
-rw-r--r--misc/xosd/Makefile3
-rw-r--r--misc/xsw/Makefile2
4 files changed, 5 insertions, 9 deletions
diff --git a/misc/mbuffer/Makefile b/misc/mbuffer/Makefile
index 248b5ef0adc7..89c48086bab3 100644
--- a/misc/mbuffer/Makefile
+++ b/misc/mbuffer/Makefile
@@ -41,9 +41,6 @@ CONFIGURE_ARGS+=ac_cv_search_sendfile=no
.include <bsd.port.pre.mk>
-post-patch:
- @${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' ${WRKSRC}/configure
-
post-configure:
# Rename variables to make sure they aren't redefined through mhash.h
@${REINPLACE_CMD} -E -e 's@(PACKAGE|VERSION)@MBUFFER_\1@' \
diff --git a/misc/posixtestsuite/Makefile b/misc/posixtestsuite/Makefile
index c2d59145ca23..1a15a57ffbb5 100644
--- a/misc/posixtestsuite/Makefile
+++ b/misc/posixtestsuite/Makefile
@@ -31,9 +31,9 @@ THEPIPE= | tee 2>&1
.endif
.if defined(WITH_THRLIB)
-THRLIB=${WITH_THRLIB}
+THRLIB= ${WITH_THRLIB}
.else
-THRLIB= ${PTHREAD_LIBS}
+THRLIB= -lpthread
.endif
pre-everything::
@@ -48,7 +48,7 @@ pre-everything::
@${ECHO} ""
@${ECHO} " * QUIET - don't print progress messages while running"
@${ECHO} " * WITH_THRLIB - choose thread library to run test against"
- @${ECHO} " (NB: by default '"${PTHREAD_LIBS}"' is used)"
+ @${ECHO} " (NB: by default '"-lpthread"' is used)"
@${ECHO} ""
@${ECHO} "Examples:"
@${ECHO} ""
diff --git a/misc/xosd/Makefile b/misc/xosd/Makefile
index a6fd899e7ad1..72e2ccda56cd 100644
--- a/misc/xosd/Makefile
+++ b/misc/xosd/Makefile
@@ -44,8 +44,7 @@ DELAY_UNITS= seconds
.endif
post-patch:
- @${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS}, ; \
- s,echo aout,echo elf,' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's,echo aout,echo elf,' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I..\2,' \
${WRKSRC}/src/libxosd/Makefile.in \
${WRKSRC}/src/xmms_plugin/Makefile.in
diff --git a/misc/xsw/Makefile b/misc/xsw/Makefile
index 9bafdb776da9..9a89472abbb9 100644
--- a/misc/xsw/Makefile
+++ b/misc/xsw/Makefile
@@ -19,7 +19,7 @@ USE_SDL= sdl ttf image gfx
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
DOCS= AUTHORS \
COPYING \