summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-12 03:40:45 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-12 03:40:45 +0000
commitea133201359edda713193d1cef4b7c46dd522c81 (patch)
tree763d73ee04ddae23c94f0456a007407369ebeae8 /www
parentMerge patches from firefox3 to hopefully fix the build on certain platforms. (diff)
- USE_APACHE=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST
Notes
Notes: svn path=/head/; revision=232166
Diffstat (limited to 'www')
-rw-r--r--www/mod_hosts_access/Makefile11
-rw-r--r--www/mod_hosts_access/pkg-plist3
2 files changed, 4 insertions, 10 deletions
diff --git a/www/mod_hosts_access/Makefile b/www/mod_hosts_access/Makefile
index 2a2846c220d6..bee9a54963fc 100644
--- a/www/mod_hosts_access/Makefile
+++ b/www/mod_hosts_access/Makefile
@@ -14,13 +14,10 @@ MASTER_SITES= http://www.klomp.org/mod_hosts_access/
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache module that makes Apache respect hosts.allow and hosts.deny
-USE_APACHE= yes
-APXS_FLAGS?= -S LDFLAGS_SHLIB="-shared -lwrap"
+USE_APACHE= 1.3
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
-do-build:
- @cd ${WRKSRC} && ${APXS} ${APXS_FLAGS} -c ${PORTNAME}.c
-
-do-install:
- ${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so
+AP_LIB= -shared -lwrap
.include <bsd.port.mk>
diff --git a/www/mod_hosts_access/pkg-plist b/www/mod_hosts_access/pkg-plist
deleted file mode 100644
index babeec38f942..000000000000
--- a/www/mod_hosts_access/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-libexec/apache/mod_hosts_access.so
-@exec %D/sbin/apxs -e -A -n hosts_access %D/%F
-@unexec %D/sbin/apxs -e -A -n hosts_access %D/%F