[Midnightbsd-cvs] mports: Makefile: use bsd.mport.options.mk

ctriv at midnightbsd.org ctriv at midnightbsd.org
Fri Nov 7 12:26:36 EST 2008


Log Message:
-----------
use bsd.mport.options.mk

Modified Files:
--------------
    mports/lang/php5:
        Makefile (r1.19 -> r1.20)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/php5/Makefile,v
retrieving revision 1.19
retrieving revision 1.20
diff -L lang/php5/Makefile -L lang/php5/Makefile -u -r1.19 -r1.20
--- lang/php5/Makefile
+++ lang/php5/Makefile
@@ -53,7 +53,7 @@
 
 MAN1=		php-config.1 phpize.1
 
-.include <bsd.port.pre.mk>
+.include <bsd.mport.options.mk>
 
 .if !defined(WITHOUT_SUHOSIN)
 PATCHFILES+=	suhosin-patch-${PORTVERSION}-0.9.6.2.patch.gz:suhosin
@@ -101,7 +101,6 @@
 .if defined(WITH_APACHE)
 PHP_SAPI+=	mod
 USE_APACHE=	2.0+
-.include "${PORTSDIR}/Mk/bsd.apache.mk"
 CONFIGURE_ARGS+=--with-apxs2=${APXS}
 PKGMESSAGE=	${PKGDIR}/pkg-message.mod
 MODULENAME=	lib${PORTNAME}
@@ -145,6 +144,8 @@
 CONFIGURE_ARGS+=--disable-ipv6
 .endif
 
+.include <bsd.port.pre.mk>
+
 post-patch:
 	@${TOUCH} ${WRKSRC}/ext/php_config.h
 	@${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-*


More information about the Midnightbsd-cvs mailing list