aboutsummaryrefslogtreecommitdiffstats
path: root/devel/simgear
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-01-22 08:02:32 +0800
committerdes <des@FreeBSD.org>2003-01-22 08:02:32 +0800
commitda964fe59dd189413f2078bd866a20224b840a86 (patch)
treebd97fe2219815c15ace0e092d553e25ea5dedac4 /devel/simgear
parent90a1afac4828f1c9ff702fb85c12e85028246b65 (diff)
downloadfreebsd-ports-gnome-da964fe59dd189413f2078bd866a20224b840a86.tar.gz
freebsd-ports-gnome-da964fe59dd189413f2078bd866a20224b840a86.tar.zst
freebsd-ports-gnome-da964fe59dd189413f2078bd866a20224b840a86.zip
Respect ${CC} and ${CXX}; untangle ${CFLAGS}, ${CXXFLAGS} and ${CPPFLAGS}
which weren't quite right the first time around. No PORT_REVISION bump since the port is only a few hours old and not yet very useful.
Diffstat (limited to 'devel/simgear')
-rw-r--r--devel/simgear/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/simgear/Makefile b/devel/simgear/Makefile
index 4c0d6933a145..cae0a3008b91 100644
--- a/devel/simgear/Makefile
+++ b/devel/simgear/Makefile
@@ -22,7 +22,8 @@ USE_X_PREFIX= yes
USE_MESA= yes
GNU_CONFIGURE= yes
# Force configure to look in /usr/local/{include,lib}
-CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" \
+ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"