diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-13 11:23:18 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-13 11:23:18 +0000 |
commit | cf5405e123d6dceb48cb9ce583f7eb95af8ade3b (patch) | |
tree | feaf838e16f1fcc9d16d0240faf07eee81986be8 /x11-toolkits | |
parent | 5dbf49fac72e8841458afa9b14a2b8f9166952e9 (diff) |
Fix build for x11-toolkits/php-gtk
Due to incorrect build dependencies, php-gtk failed to build
(as reported by bento). This patch fixes BUILD_DEPENDS and
corrects another small bug (pre-configure wouldn't be called
under certain circumstances).
PR: ports/50854
Submitted by: Alex Kiesel <kiesel@schlund.de>
Notes
Notes:
svn path=/head/; revision=78874
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/php-gtk/Makefile | 12 | ||||
-rw-r--r-- | x11-toolkits/php-gtk2/Makefile | 12 |
2 files changed, 10 insertions, 14 deletions
diff --git a/x11-toolkits/php-gtk/Makefile b/x11-toolkits/php-gtk/Makefile index f92df3526dcd..07df6f6920a3 100644 --- a/x11-toolkits/php-gtk/Makefile +++ b/x11-toolkits/php-gtk/Makefile @@ -18,14 +18,14 @@ COMMENT= An extension to use gtk in PHP-applications # automake-1.5 installed - what a mess BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake \ automake14:${PORTSDIR}/devel/automake14 \ - autoconf:${PORTSDIR}/devel/autoconf213 \ - ${LOCALBASE}/bin/phpize:${PORTSDIR}/www/mod_php4 + autoconf:${PORTSDIR}/devel/autoconf \ + autoconf213:${PORTSDIR}/devel/autoconf213 \ + phpize:${PORTSDIR}/www/mod_php4 RUN_DEPENDS= php:${PORTSDIR}/www/mod_php4 # Don't call autoconf directly, ./buildconf does this GNU_CONFIGURE= yes USE_AUTOCONF= no -USE_LIBTOOL= no USE_GMAKE= yes USE_PERL5_BUILD=yes USE_GNOMENG= yes @@ -75,11 +75,9 @@ pre-everything:: @${ECHO_MSG} '* *' @${ECHO_MSG} '*********************************************************' -post-patch-script: - @${ECHO_MSG} "===> Building configuration files for ${PKGNAME}" - (cd ${WRKSRC} && ./buildconf) - pre-configure: + @${ECHO_MSG} "===> Building configuration files for ${PKGNAME}" + @(cd ${WRKSRC} && ./buildconf) .for FILE in ${PIC2FIX} @${REINPLACE_CMD} -e "s|-prefer-pic|${CFLAGS}|g" ${WRKSRC}/${FILE} .endfor diff --git a/x11-toolkits/php-gtk2/Makefile b/x11-toolkits/php-gtk2/Makefile index f92df3526dcd..07df6f6920a3 100644 --- a/x11-toolkits/php-gtk2/Makefile +++ b/x11-toolkits/php-gtk2/Makefile @@ -18,14 +18,14 @@ COMMENT= An extension to use gtk in PHP-applications # automake-1.5 installed - what a mess BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake \ automake14:${PORTSDIR}/devel/automake14 \ - autoconf:${PORTSDIR}/devel/autoconf213 \ - ${LOCALBASE}/bin/phpize:${PORTSDIR}/www/mod_php4 + autoconf:${PORTSDIR}/devel/autoconf \ + autoconf213:${PORTSDIR}/devel/autoconf213 \ + phpize:${PORTSDIR}/www/mod_php4 RUN_DEPENDS= php:${PORTSDIR}/www/mod_php4 # Don't call autoconf directly, ./buildconf does this GNU_CONFIGURE= yes USE_AUTOCONF= no -USE_LIBTOOL= no USE_GMAKE= yes USE_PERL5_BUILD=yes USE_GNOMENG= yes @@ -75,11 +75,9 @@ pre-everything:: @${ECHO_MSG} '* *' @${ECHO_MSG} '*********************************************************' -post-patch-script: - @${ECHO_MSG} "===> Building configuration files for ${PKGNAME}" - (cd ${WRKSRC} && ./buildconf) - pre-configure: + @${ECHO_MSG} "===> Building configuration files for ${PKGNAME}" + @(cd ${WRKSRC} && ./buildconf) .for FILE in ${PIC2FIX} @${REINPLACE_CMD} -e "s|-prefer-pic|${CFLAGS}|g" ${WRKSRC}/${FILE} .endfor |