ports/50854: Fix build for x11-toolkits/php-gtk

Alex Kiesel kiesel at schlund.de
Sat Apr 12 11:40:08 UTC 2003


>Number:         50854
>Category:       ports
>Synopsis:       Fix build for x11-toolkits/php-gtk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 04:40:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kiesel
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD alex.i.schlund.de 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Apr 11 16:29:20 CEST 2003 root at alex.i.schlund.de:/usr/obj/usr/src/sys/KNORKE i386


	
>Description:
	
    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).
>How-To-Repeat:
	a
    Apply the attached patch.
>Fix:

	

--- php-gtk-Makefile.diff begins here ---
--- Makefile.orig	Wed Apr  2 01:06:02 2003
+++ Makefile	Sat Apr 12 11:40:11 2003
@@ -18,14 +18,14 @@
 # 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 @@
 	@${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
--- php-gtk-Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list