aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-08-06 00:48:38 +0800
committerpetef <petef@FreeBSD.org>2002-08-06 00:48:38 +0800
commiteb22ba4f379e7e0040b85aa81be29a4658aacebf (patch)
tree2884136963078e975828557ac5a387f4d8c56097 /www
parent74a625f4b10f090adaf597018c6500f8d72f0642 (diff)
downloadfreebsd-ports-gnome-eb22ba4f379e7e0040b85aa81be29a4658aacebf.tar.gz
freebsd-ports-gnome-eb22ba4f379e7e0040b85aa81be29a4658aacebf.tar.zst
freebsd-ports-gnome-eb22ba4f379e7e0040b85aa81be29a4658aacebf.zip
Link with -lwrap to make the Apache module actually function and load
correctly. Submitted by: Maikel Verheijen <maikel@ladot.com>
Diffstat (limited to 'www')
-rw-r--r--www/mod_hosts_access/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/mod_hosts_access/Makefile b/www/mod_hosts_access/Makefile
index f3960b40cabd..24295afdac17 100644
--- a/www/mod_hosts_access/Makefile
+++ b/www/mod_hosts_access/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_hosts_access
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.klomp.org/mod_hosts_access/
@@ -16,9 +17,10 @@ BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
APXS?= ${LOCALBASE}/sbin/apxs
+APXS_FLAGS?= -S LDFLAGS_SHLIB="-shared -lwrap"
do-build:
- @cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
+ @cd ${WRKSRC} && ${APXS} ${APXS_FLAGS} -c ${PORTNAME}.c
do-install:
${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so