summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2003-09-04 15:35:51 +0000
committeradam <adam@pkgsrc.org>2003-09-04 15:35:51 +0000
commit8acc25a52f2368e30b6e7f6335f0363c7f1accfc (patch)
tree51b71a29cd7222c897f7c764bd284afddf4f4117
parent4fcb19b7f9eac59ade73890f7a9fc34b6e63bf55 (diff)
downloadpkgsrc-8acc25a52f2368e30b6e7f6335f0363c7f1accfc.tar.gz
Now use system/user default CFLAGS
-rw-r--r--devel/apr/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index 4a3ce4fd1a3..c1afc3f9809 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/06/06 10:49:59 jmmv Exp $
+# $NetBSD: Makefile,v 1.5 2003/09/04 15:35:51 adam Exp $
PKGNAME= apr-${APR_VERSION}.${APACHE_VERSION}
CATEGORIES= devel
@@ -17,6 +17,8 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/apr/libtool
WRKSRC= ${WRKDIR}/${DISTNAME}/srclib
BUILD_DIRS= ${WRKSRC}/apr ${WRKSRC}/apr-util
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
+
pre-configure:
.for f in apr/config.layout apr-util/config.layout
${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/$f > ${WRKSRC}/$f.new