aboutsummaryrefslogtreecommitdiff
path: root/www/mod_proctitle
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-24 00:19:21 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-24 00:19:21 +0000
commit723f990a12d205588b5f4f4b4d9aeebebabce11c (patch)
tree556b8be823e361f704597e522d42df6b4026bda9 /www/mod_proctitle
parent020e3725d1b57628e410cdf1fdf816341a054efe (diff)
downloadports-723f990a12d205588b5f4f4b4d9aeebebabce11c.tar.gz
ports-723f990a12d205588b5f4f4b4d9aeebebabce11c.zip
- Fix build for devel/apr0
- While here, set USE_APACHE without ?= Reported by: pointyhat via pav With Hat: apache@
Notes
Notes: svn path=/head/; revision=254928
Diffstat (limited to 'www/mod_proctitle')
-rw-r--r--www/mod_proctitle/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/mod_proctitle/Makefile b/www/mod_proctitle/Makefile
index fa09709c332d..ff89abd6302b 100644
--- a/www/mod_proctitle/Makefile
+++ b/www/mod_proctitle/Makefile
@@ -15,14 +15,21 @@ COMMENT= Set httpd process titles to reflect currently processed request
MAKE_JOBS_SAFE= yes
-USE_APACHE?= 2.0+
+USE_APACHE= 2.0+
GNU_CONFIGURE= yes
USE_BZIP2= yes
CFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= ${APACHEMODDIR}/${PORTNAME}.so
+.include <bsd.port.pre.mk>
+.if ${APACHE_VERSION} == 20
+CFLAGS+= -I${LOCALBASE}/include/apr-0
+.else
+CFLAGS+= -I${LOCALBASE}/include/apr-1
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/mod_proctitle.so \
${PREFIX}/${APACHEMODDIR}/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>