aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/amule-devel/Makefile
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-03-24 23:45:41 +0000
committerJohn Marino <marino@FreeBSD.org>2015-03-24 23:45:41 +0000
commitf4d2e9d5d0987673cdac71db043bf642a2ed7de9 (patch)
treed75112d13b97d33d3abc4f2644d897827ced94de /net-p2p/amule-devel/Makefile
parentf6fa2f3023f4874ec30ec2005356373c1a19e608 (diff)
downloadports-f4d2e9d5d0987673cdac71db043bf642a2ed7de9.tar.gz
ports-f4d2e9d5d0987673cdac71db043bf642a2ed7de9.zip
Notes
Diffstat (limited to 'net-p2p/amule-devel/Makefile')
-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}