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.
This commit is contained in:
Dag-Erling Smørgrav 2003-01-22 00:02:32 +00:00
parent a3fc91f725
commit 756984c917
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73756

View file

@ -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"