summaryrefslogtreecommitdiff
path: root/www/ap-aolserver
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-11-26 15:58:08 +0000
committerjlam <jlam@pkgsrc.org>2003-11-26 15:58:08 +0000
commit0c14f1d49c610826a5c8983c4c9b5b62df2b1078 (patch)
tree9f1971481e068c7afa4b3cfd478cb892e455f490 /www/ap-aolserver
parent39d91ac9d4fa7ff31dbf2079297d8c7d9c0ba99e (diff)
downloadpkgsrc-0c14f1d49c610826a5c8983c4c9b5b62df2b1078.tar.gz
Build this Apache module with the appropriate CFLAGS, which are found by
querying apxs.
Diffstat (limited to 'www/ap-aolserver')
-rw-r--r--www/ap-aolserver/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/ap-aolserver/Makefile b/www/ap-aolserver/Makefile
index e5be1fbcee7..c314180fcd5 100644
--- a/www/ap-aolserver/Makefile
+++ b/www/ap-aolserver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/07/17 22:55:21 grant Exp $
+# $NetBSD: Makefile,v 1.14 2003/11/26 15:58:08 jlam Exp $
#
DISTNAME= mod_aolserver-1.1
@@ -15,7 +15,8 @@ GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
CONFIGURE_ARGS+= --with-database=postgres --with-mm=${BUILDLINK_PREFIX.libmm}
-CONFIGURE_ENV+= CPPFLAGS="-I${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql -I${BUILDLINK_PREFIX.apache}/include/httpd"
+CPPFLAGS+= -I${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql
+CFLAGS+= `${APXS} -q CFLAGS CFLAGS_SHLIB`
MESSAGE_SUBST+= PREFIX=${PREFIX}