ports/133687: [PATCH] www/mod_vhs: apache@ cleanups
Philip M. Gollucci
pgollucci at FreeBSD.org
Mon Apr 13 04:20:01 UTC 2009
>Number: 133687
>Category: ports
>Synopsis: [PATCH] www/mod_vhs: apache@ cleanups
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 13 04:20:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Philip M. Gollucci
>Release: FreeBSD 7.1-RELEASE-p3 amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD mail.bluecottontech.com 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Tue Mar 10 22:10:18 UTC 2009
>Description:
- WITH_APACHE2 is deprecated
- WANT_APACHE is deprecated
- Consolidate -I into AP_INC
- Kill Makefile.modules.3rd
Port maintainer (kiwi at oav.net) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- mod_vhs-1.0.32_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_vhs/Makefile,v
retrieving revision 1.17
diff -u -u -r1.17 Makefile
--- Makefile 5 Jan 2009 19:04:39 -0000 1.17
+++ Makefile 13 Apr 2009 04:11:54 -0000
@@ -9,7 +9,7 @@
PORTVERSION= 1.0.32
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= http://www.oav.net/projects/mod_vhs/
+MASTER_SITES= http://www.oav.net/projects/${PORTNAME}/
DIST_SUBDIR= apache2
MAINTAINER= kiwi at oav.net
@@ -17,35 +17,35 @@
LIB_DEPENDS+= home:${PORTSDIR}/misc/libhome
-WITH_APACHE2= yes
+USE_APACHE= 2.0
USE_PHP= yes
USE_PHP_BUILD= yes
WANT_PHP_MOD= yes
-WANT_APACHE= 2
-AP_FAST_BUILD= YES
-AP_GENPLIST= YES
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-AP_INC+= ${LOCALBASE}/include/home
+AP_INC+= ${LOCALBASE}/include/home \
+ -I ${LOCALBASE}/include/php \
+ -I ${LOCALBASE}/include/php/Zend \
+ -I ${LOCALBASE}/include/php/TSRM \
+ -I ${LOCALBASE}/include/php/main
AP_LIB+= ${LOCALBASE}/lib -lhome
-AP_EXTRAS+= -I ${LOCALBASE}/include/php -I ${LOCALBASE}/include/php/Zend -I ${LOCALBASE}/include/php/TSRM -I ${LOCALBASE}/include/php/main -DHAVE_MOD_PHP_SUPPORT
+AP_EXTRAS+= -DHAVE_MOD_PHP_SUPPORT
PORTDOCS= ChangeLog AUTHORS README.logs README.wildcards WARNING \
README.phpopt
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
-
post-install:
.if !defined (NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+ @${MKDIR} ${DOCSDIR}/
+.for f in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+.endfor
.endif
# TODO :
# Add suphp support
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- mod_vhs-1.0.32_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list