aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-21 16:28:20 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-21 16:28:20 +0000
commit54700443952b907cabb94c1cde5888882889c7c2 (patch)
tree76d6c6ec0d5b81bf5050fa7f1a9e8ed0fc6fa754 /x11-toolkits
parent60886ad035e562a53961485ea3235a85c27289d2 (diff)
downloadports-54700443952b907cabb94c1cde5888882889c7c2.tar.gz
ports-54700443952b907cabb94c1cde5888882889c7c2.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/fltk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile
index eacfe0294ca0..07ea0022d86a 100644
--- a/x11-toolkits/fltk/Makefile
+++ b/x11-toolkits/fltk/Makefile
@@ -34,7 +34,8 @@ USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-shared --enable-xft
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+# configure ignores ${CXX} and keeps on linking C++ code with ${CC}
+CONFIGURE_ENV+= CC="${CXX}" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}
USE_X_PREFIX= yes