diff options
author | clement <clement@FreeBSD.org> | 2004-02-08 23:40:41 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-02-08 23:40:41 +0800 |
commit | e6d9ba9467b0356df6e2ed8112cbb8856052fffe (patch) | |
tree | 905b8e77eb5adb8881b2fa78a73bc300df099626 /www/apache2/Makefile | |
parent | cb50a2108a38095816b21e510f2e7b403515e2e7 (diff) | |
download | freebsd-ports-gnome-e6d9ba9467b0356df6e2ed8112cbb8856052fffe.tar.gz freebsd-ports-gnome-e6d9ba9467b0356df6e2ed8112cbb8856052fffe.tar.zst freebsd-ports-gnome-e6d9ba9467b0356df6e2ed8112cbb8856052fffe.zip |
- Improve apr from ports support.
Thanks a lot to kuriyama.
Submitted by: kuriyama
Diffstat (limited to 'www/apache2/Makefile')
-rw-r--r-- | www/apache2/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile index 4ddb92465329..6c58115c3fb7 100644 --- a/www/apache2/Makefile +++ b/www/apache2/Makefile @@ -54,7 +54,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ CONFIGURE_ENV= CC="${CC}" CPPFLAGS="${CPPFLAGS}" \ CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" CONFIG_SHELL="${SH}" \ + LDFLAGS="${LDFLAGS}" CONFIG_SHELL="${SH}" \ LOCALBASE="${LOCALBASE}" PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} @@ -101,16 +101,18 @@ CONFIGURE_ARGS+= --with-ldap \ .if defined(WITH_APR_FROM_PORTS) . if defined (WITH_BDB) || defined(WITH_BERKELEYDB) BROKEN= "You can't set WITH_BDB or WITH_BERKELEYDB when WITH_APR_FROM_PORTS is defined" -.endif +. endif LIB_DEPENDS+= apr-0.9:${PORTSDIR}/devel/apr CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-config \ --with-apr-util=${LOCALBASE}/bin/apu-config +PLIST_SUB+= PORTS_APR="@comment " .else . if exists(${LOCALBASE}/lib/libapr-0.so) BROKEN= "apr is installed and may conflict with apache one\ (if you want to use apr port define WITH_APR_FROM_PORTS,\ at your own risk)" . endif +PLIST_SUB+= PORTS_APR="" .endif WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//} |