fix BUILD_DEPENDS by using MODGNU_AUTOCONF_DEPENDS and

MODGNU_AUTOMAKE_DEPENDS instead of handcrafting those entries
This commit is contained in:
sturm 2007-01-03 20:06:51 +00:00
parent 63d173db79
commit 9f5cc0c540

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2006/12/23 21:31:05 sturm Exp $
# $OpenBSD: Makefile,v 1.3 2007/01/03 20:06:51 sturm Exp $
SHARED_ONLY= Yes
@ -21,13 +21,12 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://pecl.php.net/get/
EXTRACT_SUFX= .tgz
AUTOCONF_VER= 2.59
AUTOMAKE_VER= 1.4
AUTOCONF_VERSION= 2.59
AUTOMAKE_VERSION= 1.4
BUILD_DEPENDS= :php5-pear-*:www/php5/core,-pear \
:autoconf-${AUTOCONF_VER}:devel/autoconf/${AUTOCONF_VER} \
:automake-${AUTOMAKE_VER}.*:devel/automake/${AUTOMAKE_VER} \
::devel/libtool
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
RUN_DEPENDS= :php5-core-*:www/php5/core
CONFIGURE_STYLE=gnu
@ -36,8 +35,8 @@ CONFIGURE_ARGS= --enable-apc \
--with-apxs \
--with-php-config=$(LOCALBASE)/bin/php-config
CONFIGURE_ENV= AUTOMAKE_VERSION=${AUTOMAKE_VER} \
AUTOCONF_VERSION=${AUTOCONF_VER}
CONFIGURE_ENV= AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
AUTOCONF_VERSION=${AUTOCONF_VERSION}
PREFIX= /var/www
FAKE_FLAGS= INSTALL_ROOT=${WRKINST}