aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/amule-devel
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-25 07:45:41 +0800
committermarino <marino@FreeBSD.org>2015-03-25 07:45:41 +0800
commiteb53ead67b7a3c94adf148f25679b94c59e27769 (patch)
treed75112d13b97d33d3abc4f2644d897827ced94de /net-p2p/amule-devel
parent0390f4799758af6e5954447faf0e8ab55b7e40c0 (diff)
downloadfreebsd-ports-gnome-eb53ead67b7a3c94adf148f25679b94c59e27769.tar.gz
freebsd-ports-gnome-eb53ead67b7a3c94adf148f25679b94c59e27769.tar.zst
freebsd-ports-gnome-eb53ead67b7a3c94adf148f25679b94c59e27769.zip
2 ports categories: Remove $PTHREAD_LIBS
Categories: net-p2p, comms Note that qrq was not properly staged, it failed stage-QA. aprsd failed check-plist; it had a plist orphan. Now it fails stage-QA with a fs violation, but it may be acceptable. Fixes added to both. approved by: PTHREAD blanket
Diffstat (limited to 'net-p2p/amule-devel')
-rw-r--r--net-p2p/amule-devel/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net-p2p/amule-devel/Makefile b/net-p2p/amule-devel/Makefile
index b62fa08a8d9f..43ffe63ed9f9 100644
--- a/net-p2p/amule-devel/Makefile
+++ b/net-p2p/amule-devel/Makefile
@@ -31,8 +31,7 @@ CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \
docdir='$${prefix}/${DOCSDIR_REL}'
CPPFLAGS+= -I${LOCALBASE}/include
-CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
OPTIONS_DEFINE= ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS DEBUG DOCS ED2K \
FILEVIEW GEOIP MMAP MONOLITHIC NLS OPTIMIZED_CFLAGS PLASMAMULE UPNP \
@@ -126,8 +125,7 @@ WX_UNICODE= yes
.endif
post-patch: .SILENT
- ${REINPLACE_CMD} -e '/LDFLAGS/s/-lpthread/${PTHREAD_LIBS}/' \
- -e 's/test.*-print-file-name.*`/true/' \
+ ${REINPLACE_CMD} -e 's/test.*-print-file-name.*`/true/' \
-e '/if.*test/s/==/=/' \
${WRKSRC}/configure
.if ! ${PORT_OPTIONS:MDOCS}