Subject: Re: phpize/libtoolize & existing libtool
To: Johnny C. Lam <jlam@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 01/28/2003 18:14:01
On Mon, 27 Jan 2003, Johnny C. Lam wrote:

> Does the following fix things?  We don't actually want phpize explicitly
> calling /usr/pkg/bin/libtool because then we wouldn't be able make PHP4
> modules buildlink2-safe.

	No joy, though the following (ugly) patch does:

--- Makefile.module     2002/10/14 06:21:18     1.21
+++ Makefile.module     2003/01/28 18:13:18
@@ -50,7 +50,7 @@
        if [ ! -f $${cookie} ]; then                                    \
                ( cd ${WRKSRC} && ${SETENV} AUTOCONF=${AUTOCONF}        \
                        AUTOHEADER=${AUTOHEADER} ACLOCAL=${ACLOCAL}     \
-                       ${PHPIZE} );                                    \
+                       PATH=${PREFIX}/bin:${PATH} ${PHPIZE} );         \
                ${TOUCH} ${TOUCH_FLAGS} $${cookie};                     \
        fi


-- 
		David/absolute          -- www.netbsd.org: No hype required --