summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2001-01-23 19:56:45 +0000
committerdmcmahill <dmcmahill>2001-01-23 19:56:45 +0000
commit0de29c55a8901af168a3ab0e14942fbad8f018fd (patch)
tree0d7086daa216e8dc548c1f919709c57d81345125
parent721701d10d654f1e2bcd6bff4142e78f95012056 (diff)
downloadpkgsrc-0de29c55a8901af168a3ab0e14942fbad8f018fd.tar.gz
set CPFLAGS (no thats not a typo) in CONFIGURE_ENV to make sure libintl.h
is found.
-rw-r--r--sysutils/apcupsd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 4a750c1a920..27f7a1f951f 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/01/04 17:42:04 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/01/23 19:56:45 dmcmahill Exp $
#
DISTNAME= apcupsd-3.6.2
@@ -26,6 +26,8 @@ CONFIGURE_ARGS+= --enable-http # include http support
CONFIGURE_ARGS+= --with-catgets # use catgets functions
CONFIGURE_ARGS+= --enable-nls # i18n support
+CONFIGURE_ENV+= CPFLAGS="${CPPFLAGS}" # make sure libintl.h is found
+
pre-configure:
cd ${WRKSRC} && autoreconf --force