diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-06 19:20:30 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-06 19:20:30 +0000 |
commit | 5c2481ab5e356bfffb265314ccb81d39d8de04ef (patch) | |
tree | 1a5712de7f2a962f21cdf0be4ab2f2f7ef24245b /devel/php-dbg2/Makefile | |
parent | 75883d46194581281ad8e58dcfd767b77aea54f9 (diff) | |
download | ports-5c2481ab5e356bfffb265314ccb81d39d8de04ef.tar.gz ports-5c2481ab5e356bfffb265314ccb81d39d8de04ef.zip |
Unbreak build with new php 4.3.2, and Various fixes.
PR: ports/52804
Reviewed by: Jens Rehsack <rehsack@liwing.de>
Submitted by: Alex Dupre <sysadmin@alexdupre.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=82394
Diffstat (limited to 'devel/php-dbg2/Makefile')
-rw-r--r-- | devel/php-dbg2/Makefile | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/devel/php-dbg2/Makefile b/devel/php-dbg2/Makefile index 8f55ecc7ab8a..8116ecfa7820 100644 --- a/devel/php-dbg2/Makefile +++ b/devel/php-dbg2/Makefile @@ -16,42 +16,22 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= rehsack@liwing.de COMMENT= Debugger for PHP4 -BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake \ - autoconf:${PORTSDIR}/devel/autoconf \ - phpize:${PORTSDIR}/www/mod_php4 -RUN_DEPENDS= ${LOCALBASE}/bin/php:${PORTSDIR}/www/mod_php4 - -USE_LIBTOOL= yes WRKSRC= ${WRKDIR}/dbg -CONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler \ - --with-php-config=${PREFIX}/bin/php-config -CONFIGURE_ENV= CFLAGS="${CFLAGS}" +USE_PHPIZE= yes +CONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST= ${WRKDIR}/pkg-plist .include <bsd.port.pre.mk> - -PHPCONFIG= ${LOCALBASE}/bin/php-config -.if exists(${PHPCONFIG}) -PHPEXTENSIONS!= ${PHPCONFIG} --extension-dir -.else -PHPEXTENSIONS= ${LOCALBASE}/lib/php/extensions -.endif - -post-extract: - @${ECHO_MSG} "===> PHPizing for ${DISTNAME}" - @cd ${WRKSRC} && ${LOCALBASE}/bin/phpize +.include "${.CURDIR}/../../lang/php4/bsd.php.mk" post-build: - @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PHPEXTENSIONS%%|${PHPEXTENSIONS}|g" \ + @${SED} "s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \ ${.CURDIR}/pkg-message > ${PKGMESSAGE} - @${SED} "s|%%PHPEXTENSIONS%%|${PHPEXTENSIONS}|g" < ${.CURDIR}/pkg-plist | \ - ${SED} "s|${LOCALBASE}/||" >${PLIST} do-install: - @${MKDIR} ${PHPEXTENSIONS} + @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} @${INSTALL_DATA} ${WRKSRC}/modules/dbg.so \ - ${PHPEXTENSIONS} + ${PREFIX}/lib/php/${PHP_EXT_DIR} post-install: @${CAT} ${PKGMESSAGE} |