mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Respect CFLAGS with POPT option
Reported by: kris
This commit is contained in:
parent
c430c99635
commit
d66ef1f1c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190999
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ OPTIONS= POPT_PORT "Use popt from devel/popt instead of bundled one" off \
|
|||
|
||||
.if defined(WITH_POPT_PORT)
|
||||
LIB_DEPENDS+= popt.0:${PORTSDIR}/devel/popt
|
||||
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
|
||||
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-included-popt
|
||||
|
|
Loading…
Add table
Reference in a new issue