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:
parent
a3fc91f725
commit
756984c917
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73756
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue