summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-24 19:37:43 +0000
committermarino <marino@FreeBSD.org>2015-03-24 19:37:43 +0000
commit61b3ec41852b1ac7162fe5232b06722a44f61978 (patch)
treea4ccf69d55299b5301757b9646b86e3cfed1e46e
parent35046dbb75789b39e6b750f883a667ea02f6db21 (diff)
downloadFreeBSD-ports-61b3ec41852b1ac7162fe5232b06722a44f61978.zip
FreeBSD-ports-61b3ec41852b1ac7162fe5232b06722a44f61978.tar.gz
3 ports categories: Remove $PTHREAD_LIBS
Categories: editors, x11, x11-toolkits approved by: PTHREAD blanket
-rw-r--r--editors/cooledit/Makefile4
-rw-r--r--editors/leafpad/Makefile4
-rw-r--r--editors/poedit/Makefile4
-rw-r--r--editors/xmlcopyeditor/Makefile4
-rw-r--r--x11-toolkits/fox14/Makefile2
-rw-r--r--x11-toolkits/libbonoboui/Makefile2
-rw-r--r--x11-toolkits/plib/Makefile4
-rw-r--r--x11-toolkits/py-gnome2/Makefile2
-rw-r--r--x11-toolkits/py-gtk2/Makefile3
-rw-r--r--x11-toolkits/vdk/Makefile4
-rw-r--r--x11-toolkits/wxgtk28/Makefile3
-rw-r--r--x11-toolkits/wxgtk28/files/patch-configure2
-rw-r--r--x11/erun/Makefile4
-rw-r--r--x11/gnome-menus/Makefile2
-rw-r--r--x11/gnome-menus/files/patch-util_Makefile.in2
-rw-r--r--x11/mate-applets/Makefile4
-rw-r--r--x11/xlockmore/Makefile2
-rw-r--r--x11/xscreensaver-gnome/Makefile3
-rw-r--r--x11/xstroke/Makefile4
19 files changed, 27 insertions, 32 deletions
diff --git a/editors/cooledit/Makefile b/editors/cooledit/Makefile
index a147212..9019fab 100644
--- a/editors/cooledit/Makefile
+++ b/editors/cooledit/Makefile
@@ -17,8 +17,8 @@ USE_LDCONFIG= yes
USE_GCC= any
INSTALL_TARGET= install-strip
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
CFLAGS+= -DHAVE_MBRTOWC
OPTIONS_DEFINE= NEXT_LOOK
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
index e31e79f..06c5c03 100644
--- a/editors/leafpad/Makefile
+++ b/editors/leafpad/Makefile
@@ -18,8 +18,8 @@ USES= desktop-file-utils gmake pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-chooser
INSTALLS_ICONS= yes
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile
index b888a72..2aab84a 100644
--- a/editors/poedit/Makefile
+++ b/editors/poedit/Makefile
@@ -26,8 +26,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= WXRC="${WXRC_CMD}"
INSTALLS_ICONS= yes
-CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -L${BDB_LIB_DIR} -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_SUB=yes
diff --git a/editors/xmlcopyeditor/Makefile b/editors/xmlcopyeditor/Makefile
index 9a9d6ef..ba565e9 100644
--- a/editors/xmlcopyeditor/Makefile
+++ b/editors/xmlcopyeditor/Makefile
@@ -30,7 +30,7 @@ LIB_DEPENDS= libxerces-c.so.3:${PORTSDIR}/textproc/xerces-c3 \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CPPFLAGS+= -I${LOCALBASE}/include \
- -I${LOCALBASE}/include/libxml2 ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} ${ICONV_LIB}
+ -I${LOCALBASE}/include/libxml2
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib ${ICONV_LIB}
.include <bsd.port.mk>
diff --git a/x11-toolkits/fox14/Makefile b/x11-toolkits/fox14/Makefile
index cb3a01c..0520e03 100644
--- a/x11-toolkits/fox14/Makefile
+++ b/x11-toolkits/fox14/Makefile
@@ -102,7 +102,7 @@ post-patch:
# CXXFLAGS safeness
@${REINPLACE_CMD} -E -e \
's|-O2|${CXXFLAGS}|g ; \
- s|-lc_r|${PTHREAD_LIBS}|g' \
+ s|-lc_r|-lpthread|g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
# doc prefix safeness
@${REINPLACE_CMD} -E -e \
diff --git a/x11-toolkits/libbonoboui/Makefile b/x11-toolkits/libbonoboui/Makefile
index 2d21382..1868c49 100644
--- a/x11-toolkits/libbonoboui/Makefile
+++ b/x11-toolkits/libbonoboui/Makefile
@@ -22,7 +22,7 @@ USE_GNOME= gnomeprefix intlhack \
libgnomecanvas libgnome referencehack
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
.include <bsd.port.mk>
diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile
index 3fd18dc..a5e4e23 100644
--- a/x11-toolkits/plib/Makefile
+++ b/x11-toolkits/plib/Makefile
@@ -19,8 +19,8 @@ USE_GL= glu
GNU_CONFIGURE= yes
CXXFLAGS+= -fPIC
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-js-jsBSD.cxx
diff --git a/x11-toolkits/py-gnome2/Makefile b/x11-toolkits/py-gnome2/Makefile
index f951295..c041488 100644
--- a/x11-toolkits/py-gnome2/Makefile
+++ b/x11-toolkits/py-gnome2/Makefile
@@ -26,7 +26,7 @@ USES= gettext gmake libtool:keepla pathfix pkgconfig python:2 tar:bzip2
USE_LDCONFIG= yes
USE_GNOME= libgnomeui pygtk2
GNU_CONFIGURE= yes
-CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
+CONFIGURE_ENV= PTHREAD_LIBS="-lpthread"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
diff --git a/x11-toolkits/py-gtk2/Makefile b/x11-toolkits/py-gtk2/Makefile
index 0190e1c..2e996e1 100644
--- a/x11-toolkits/py-gtk2/Makefile
+++ b/x11-toolkits/py-gtk2/Makefile
@@ -52,8 +52,7 @@ CONFIGURE_ARGS+=--disable-numpy
#
.if !defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --enable-thread
-CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS}
+LDFLAGS+= -lpthread
.else
CONFIGURE_ARGS+= --disable-thread
.endif
diff --git a/x11-toolkits/vdk/Makefile b/x11-toolkits/vdk/Makefile
index ef339ad..8ef4b65 100644
--- a/x11-toolkits/vdk/Makefile
+++ b/x11-toolkits/vdk/Makefile
@@ -20,8 +20,8 @@ CONFIGURE_ARGS= --enable-opt=no --enable-doc-html=no --enable-testvdk=no
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -lgnuregex -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|CXXFLAGS="-s"|CXXFLAGS="$$CXXFLAGS"|g ; \
diff --git a/x11-toolkits/wxgtk28/Makefile b/x11-toolkits/wxgtk28/Makefile
index 2b55c51..15de67f 100644
--- a/x11-toolkits/wxgtk28/Makefile
+++ b/x11-toolkits/wxgtk28/Makefile
@@ -33,8 +33,7 @@ CONFIGURE_ARGS= --with-libpng=sys\
--enable-mediactrl\
--disable-backtrace\
--enable-graphics_ctx
-CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"\
- X11BASE="${LOCALBASE}"
+CONFIGURE_ENV= X11BASE="${LOCALBASE}"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
PLIST= ${.CURDIR}/pkg-plist
diff --git a/x11-toolkits/wxgtk28/files/patch-configure b/x11-toolkits/wxgtk28/files/patch-configure
index 1fec2d7..e5b934c 100644
--- a/x11-toolkits/wxgtk28/files/patch-configure
+++ b/x11-toolkits/wxgtk28/files/patch-configure
@@ -13,7 +13,7 @@
;;
*-*-freebsd*)
- THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
-+ THREAD_OPTS="${PTHREAD_LIBS}"
++ THREAD_OPTS="-pthread"
;;
*-*-darwin* | *-*-cygwin* )
THREAD_OPTS=""
diff --git a/x11/erun/Makefile b/x11/erun/Makefile
index efa89c2..b071b07 100644
--- a/x11/erun/Makefile
+++ b/x11/erun/Makefile
@@ -19,8 +19,8 @@ PLIST_FILES= bin/E-Run.epplet
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GL= gl
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib -lepplet -lImlib2 -lGL ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lepplet -lImlib2 -lGL
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME}.epplet \
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile
index 3c62e4d..952ab73 100644
--- a/x11/gnome-menus/Makefile
+++ b/x11/gnome-menus/Makefile
@@ -23,8 +23,6 @@ INSTALL_TARGET= install-strip
post-patch:
@${SED} -e 's|/usr/local|${LOCALBASE}|g' \
< ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory
- @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
- ${WRKSRC}/util/Makefile.in
post-install:
@${MKDIR} -p ${STAGEDIR}${PREFIX}/etc/xdg/menus/
diff --git a/x11/gnome-menus/files/patch-util_Makefile.in b/x11/gnome-menus/files/patch-util_Makefile.in
index bd9515e..23b1aeb 100644
--- a/x11/gnome-menus/files/patch-util_Makefile.in
+++ b/x11/gnome-menus/files/patch-util_Makefile.in
@@ -4,7 +4,7 @@
test-menu-spec.c
gnome_menu_spec_test_LDADD = \
-+ %%PTHREAD_LIBS%% \
++ -lpthread \
$(GIO_UNIX_LIBS) \
../libmenu/libgnome-menu-3.la
diff --git a/x11/mate-applets/Makefile b/x11/mate-applets/Makefile
index 5c141b6..cf55731 100644
--- a/x11/mate-applets/Makefile
+++ b/x11/mate-applets/Makefile
@@ -33,8 +33,8 @@ GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --disable-networkmanager
CONFIGURE_ENV= OS_SYS="/usr/include"
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.mate.panel.applet.charpick.gschema.xml \
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 931e6ce..e19974b 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -62,7 +62,7 @@ KRB5LIB= -L${KRB5_HOME}/lib
.if ${PORT_OPTIONS:MMESAGL}
CONFIGURE_ARGS+= --with-mesa
-MESALIB=${PTHREAD_LIBS}
+MESALIB= -lpthread
USE_GL= yes
CFLAGS+= -I${LOCALBASE}/include/FTGL
.else
diff --git a/x11/xscreensaver-gnome/Makefile b/x11/xscreensaver-gnome/Makefile
index c315620..f5c89ce 100644
--- a/x11/xscreensaver-gnome/Makefile
+++ b/x11/xscreensaver-gnome/Makefile
@@ -73,8 +73,7 @@ CFLAGS+= -O0
DOS2UNIX_FILES= hacks/glx/topblock.c
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|malloc.h|stdlib.h|g ; \
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g ; \
s|/usr/X11R6|${LOCALBASE}|g' \
${WRKSRC}/configure
.if ${PORT_OPTIONS:MPAM}
diff --git a/x11/xstroke/Makefile b/x11/xstroke/Makefile
index 8f4f555..53252c5 100644
--- a/x11/xstroke/Makefile
+++ b/x11/xstroke/Makefile
@@ -19,8 +19,8 @@ USE_XORG= xft x11 xext xi xtst
PLIST_FILES= bin/xstroke %%ETCDIR%%/alphabet man/man1/xstroke.1.gz
CFLAGS+= -I.
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
OpenPOWER on IntegriCloud