aboutsummaryrefslogtreecommitdiff
path: root/textproc/dict
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2003-10-17 09:11:39 +0000
committerDima Dorfman <dd@FreeBSD.org>2003-10-17 09:11:39 +0000
commitca0481961e077bd4cde660ba153d6c5debe4db5c (patch)
tree49823632f183805a88aea83848a4fb458bf29053 /textproc/dict
parentbb01be3ddb9acece444c80066b665cbfa24df3d5 (diff)
downloadports-ca0481961e077bd4cde660ba153d6c5debe4db5c.tar.gz
ports-ca0481961e077bd4cde660ba153d6c5debe4db5c.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
Notes
Notes: svn path=/head/; revision=91498
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