mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Put C*FLAGS into CONFIGURE_ENV instead of assigning it directly. This
allows configure-run test programs to find the right include files and libraries. Breakage reported by: many Fix submitted by: adamw
This commit is contained in:
parent
bb01be3ddb
commit
ca0481961e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91498
2 changed files with 4 additions and 3 deletions
|
@ -25,10 +25,10 @@ MAN8= dictd.8
|
|||
USE_REINPLACE= yes
|
||||
USE_BISON= yes
|
||||
USE_LIBTOOL= yes
|
||||
CFLAGS+= -I${PREFIX}/include
|
||||
CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --with-cflags="${CFLAGS}" \
|
||||
--without-local-zlib
|
||||
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
USE_GMAKE= yes
|
||||
|
||||
ALL_TARGET= dictd dictzip
|
||||
|
|
|
@ -21,9 +21,10 @@ LIB_DEPENDS= ltdl.4:${PORTSDIR}/devel/libltdl
|
|||
USE_BISON= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_LIBTOOL_VER= 14
|
||||
CFLAGS+= -I${PREFIX}/include
|
||||
CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \
|
||||
--with-etcdir=${PREFIX}/etc
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= dict
|
||||
INSTALL_TARGET= install.dict
|
||||
|
|
Loading…
Add table
Reference in a new issue