mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00: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
@ -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…
Reference in New Issue
Block a user