diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-05-24 08:19:21 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-05-24 08:19:21 +0800 |
commit | 86f05a487603832a9ab3e87aa13d48d409e7c05a (patch) | |
tree | c28f684fa225806df66c41098558796f25d795cb | |
parent | 6a4f037f74323039e4be0cb3b1d60b20097fa8a5 (diff) | |
download | freebsd-ports-gnome-86f05a487603832a9ab3e87aa13d48d409e7c05a.tar.gz freebsd-ports-gnome-86f05a487603832a9ab3e87aa13d48d409e7c05a.tar.zst freebsd-ports-gnome-86f05a487603832a9ab3e87aa13d48d409e7c05a.zip |
- Fix build for devel/apr0
- While here, set USE_APACHE without ?=
Reported by: pointyhat via pav
With Hat: apache@
-rw-r--r-- | www/mod_proctitle/Makefile | 11 |
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> |