diff options
author | tv <tv> | 2005-03-19 17:48:28 +0000 |
---|---|---|
committer | tv <tv> | 2005-03-19 17:48:28 +0000 |
commit | d3c5d7786cdd5067fd21517da13083410f6c72c8 (patch) | |
tree | 2dce66da659ae5a3ee90a47413cffac41a931e0e /www | |
parent | 945cc3c96be6208ab730284e9f3f46b191faf8da (diff) | |
download | pkgsrc-d3c5d7786cdd5067fd21517da13083410f6c72c8.tar.gz |
Defer evaluation of APXSFLAGS until CFLAGS is actually put in the environment
(after dependencies are handled).
Diffstat (limited to 'www')
-rw-r--r-- | www/ap-aolserver/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/ap-aolserver/Makefile b/www/ap-aolserver/Makefile index 465d3913798..5560605c8ce 100644 --- a/www/ap-aolserver/Makefile +++ b/www/ap-aolserver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2005/03/02 13:38:59 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2005/03/19 17:48:28 tv Exp $ # DISTNAME= mod_aolserver-1.1 @@ -17,11 +17,13 @@ USE_BUILDLINK3= YES CONFIGURE_ARGS+= --with-database=postgres CONFIGURE_ARGS+= --with-mm=${BUILDLINK_PREFIX.libmm} -CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql -CFLAGS+= ${APXSFLAGS} +CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql +CFLAGS+= ${APXSFLAGS_CMD:sh} MESSAGE_SUBST+= PREFIX=${PREFIX} +APXSFLAGS_CMD= ${LOCALBASE}/sbin/apxs -q CFLAGS CFLAGS_SHLIB + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_aolserver ${INSTALL_DATA} ${FILESDIR}/README ${FILESDIR}/nsd.tcl.sample \ @@ -33,5 +35,3 @@ post-install: .include "../../www/apache/buildlink3.mk" .include "../../mk/pgsql.buildlink3.mk" .include "../../mk/bsd.pkg.mk" - -APXSFLAGS!= ${LOCALBASE}/sbin/apxs -q CFLAGS CFLAGS_SHLIB |