aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/dict
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2003-10-17 17:11:39 +0800
committerdd <dd@FreeBSD.org>2003-10-17 17:11:39 +0800
commit57a872ef9b64dd7f01f98f3c9c4f04d096c1dcfe (patch)
tree1a3183892f16565b7dc80dfd0e8b9a44f3ea9a65 /textproc/dict
parent0671c05e31e4d3610aac75695ccc35196bff3f08 (diff)
downloadfreebsd-ports-gnome-57a872ef9b64dd7f01f98f3c9c4f04d096c1dcfe.tar.gz
freebsd-ports-gnome-57a872ef9b64dd7f01f98f3c9c4f04d096c1dcfe.tar.zst
freebsd-ports-gnome-57a872ef9b64dd7f01f98f3c9c4f04d096c1dcfe.zip
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
Diffstat (limited to 'textproc/dict')
-rw-r--r--textproc/dict/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/dict/Makefile b/textproc/dict/Makefile
index af55f367f363..0e1306f89e7b 100644
--- a/textproc/dict/Makefile
+++ b/textproc/dict/Makefile
@@ -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