summaryrefslogtreecommitdiff
path: root/devel/kscope/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kscope/Makefile')
-rw-r--r--devel/kscope/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/kscope/Makefile b/devel/kscope/Makefile
index 48ffa91bf79d..7f0a96ce07a7 100644
--- a/devel/kscope/Makefile
+++ b/devel/kscope/Makefile
@@ -27,7 +27,8 @@ USE_AUTOTOOLS= libtool
USE_GMAKE= yes
MAKE_ENV= EXTRA_LIBRARIES="-L${LOCALBASE}/lib"
-CONFIGURE_ENV= CXXFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
+LDFLAGS+= ${PTHREAD_LIBS}
+CXXFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ARGS+=--with-extra-includes=${LOCALBASE}/include \
--with-extra-libs=${LOCALBASE}/lib