summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-08-05 16:48:38 +0000
committerpetef <petef@FreeBSD.org>2002-08-05 16:48:38 +0000
commiteb22ba4f379e7e0040b85aa81be29a4658aacebf (patch)
tree2884136963078e975828557ac5a387f4d8c56097
parent74a625f4b10f090adaf597018c6500f8d72f0642 (diff)
downloadFreeBSD-ports-eb22ba4f379e7e0040b85aa81be29a4658aacebf.zip
FreeBSD-ports-eb22ba4f379e7e0040b85aa81be29a4658aacebf.tar.gz
Link with -lwrap to make the Apache module actually function and load
correctly. Submitted by: Maikel Verheijen <maikel@ladot.com>
-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 f3960b4..24295afd 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
OpenPOWER on IntegriCloud