Skip site navigation (1)Skip section navigation (2)
Date:      12 Apr 2003 11:31:53 -0000
From:      Alex Kiesel <kiesel@schlund.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50854: Fix build for x11-toolkits/php-gtk
Message-ID:  <20030412113153.82260.qmail@alex.i.schlund.de>
Resent-Message-ID: <200304121140.h3CBe6YG007831@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030412113153.82260.qmail>