summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/dctc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile
index 2901ac439428..ff4023afdcd0 100644
--- a/net-p2p/dctc/Makefile
+++ b/net-p2p/dctc/Makefile
@@ -23,10 +23,10 @@ USE_GNOME= glib12
USE_PERL5_RUN= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
- ${PTHREAD_CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt \
- ${PTHREAD_LIBS:S/"//g}"
+LDFLAGS+= ${PTHREAD_LIBS:S/"//g}
+CPPFLAGS+= ${PTHREAD_CFLAGS}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-manual-db-detect
MANCOMPRESSED= no