summaryrefslogtreecommitdiff
path: root/net/dctc
diff options
context:
space:
mode:
Diffstat (limited to 'net/dctc')
-rw-r--r--net/dctc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/dctc/Makefile b/net/dctc/Makefile
index 2901ac439428..ff4023afdcd0 100644
--- a/net/dctc/Makefile
+++ b/net/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