aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2008-11-10 08:12:53 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2008-11-10 08:12:53 +0800
commit6ad22edda17bb47f0d6019135dae5a78dea43a28 (patch)
tree74ffdc14210a89e8f420ad0158aa938e2fa03325 /net
parenta2724891653c5a011eb48b80728f149c41d33905 (diff)
downloadfreebsd-ports-gnome-6ad22edda17bb47f0d6019135dae5a78dea43a28.tar.gz
freebsd-ports-gnome-6ad22edda17bb47f0d6019135dae5a78dea43a28.tar.zst
freebsd-ports-gnome-6ad22edda17bb47f0d6019135dae5a78dea43a28.zip
- Fix CFLAGS handling
PR: 128368 Submitted by: myself Approved by: maintainer timeout
Diffstat (limited to 'net')
-rw-r--r--net/ushare/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ushare/Makefile b/net/ushare/Makefile
index 5ab7d4eb366d..e674bac35c1b 100644
--- a/net/ushare/Makefile
+++ b/net/ushare/Makefile
@@ -20,8 +20,9 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= pkgconfig
USE_GETTEXT= yes
-CONFIGURE_ENV+= CFLAGS="${PTHREAD_LIBS} -I${LOCALBASE}/include -I${WRKSRC}" \
- LDFLAGS="-L${LOCALBASE}/lib -lintl"
+CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lintl"
+
+CFLAGS+= -I${LOCALBASE}/include -I${WRKSRC}
PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample etc/rc.d/${PORTNAME}
MAN1= ${PORTNAME}.1