Now use system/user default CFLAGS

This commit is contained in:
adam 2003-09-04 15:35:51 +00:00
parent 7ab5c8f97e
commit 0f6f61a36a

View file

@ -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