diff options
author | pav <pav@FreeBSD.org> | 2004-08-22 00:28:20 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-08-22 00:28:20 +0800 |
commit | 48bac34a177f2f0ae3e3ec56d19615ed36ebdb8e (patch) | |
tree | e60ca075a749e46981a917756f43b03ec8658994 /x11-toolkits/fltk | |
parent | 6830a545d7195884bbd7e18a1da82a03445a8126 (diff) | |
download | freebsd-ports-graphics-48bac34a177f2f0ae3e3ec56d19615ed36ebdb8e.tar.gz freebsd-ports-graphics-48bac34a177f2f0ae3e3ec56d19615ed36ebdb8e.tar.zst freebsd-ports-graphics-48bac34a177f2f0ae3e3ec56d19615ed36ebdb8e.zip |
- Sneak CXX into configure script as CC. Configure script ignores CXX and keeps
on linking C++ code with "cc". This fixes build on gcc 3.4
Diffstat (limited to 'x11-toolkits/fltk')
-rw-r--r-- | x11-toolkits/fltk/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile index eacfe0294ca..07ea0022d86 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 |