summaryrefslogtreecommitdiff
path: root/net/dictd
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 /net/dictd
parentMaintainer update to snapshot version. In addition to fixing the port (diff)
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 'net/dictd')
-rw-r--r--net/dictd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dictd/Makefile b/net/dictd/Makefile
index 9186e6de156a..a70214ce259c 100644
--- a/net/dictd/Makefile
+++ b/net/dictd/Makefile
@@ -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