pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/33121: pear-DB no longer packages
The following reply was made to PR pkg/33121; it has been noted by GNATS.
From: Ben Collver <collver%peak.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: adrianp%NetBSD.org@localhost
Subject: Re: pkg/33121: pear-DB no longer packages
Date: Wed, 22 Mar 2006 14:06:06 -0800
Unfortunately, the modified patch-al did not do the trick, because php
does not install bin/pear from that pear.sh file. It installs it from a
tar file included with the php source distribution.
I think it pointed me in the right direction. The following patch
resolves the problem for me:
Index: pear.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/php/pear.mk,v
retrieving revision 1.8
diff -u -r1.8 pear.mk
--- pear.mk 28 Sep 2005 21:46:24 -0000 1.8
+++ pear.mk 22 Mar 2006 22:03:08 -0000
@@ -50,7 +50,9 @@
@cd ${WRKSRC} && ${LN} -s ${WRKDIR}/package.xml package.xml
do-install:
- cd ${WRKSRC} && ${PEAR_CMD} "install" package.xml || exit 1
+ cd ${WRKSRC} && \
+ PHP_PEAR_PHP_BIN="${PREFIX}/bin/php -n -dmemory_limit=16M" \
+ ${PEAR_CMD} "install" package.xml || exit 1
.include "../../lang/php/phpversion.mk"
.include "${PHPPKGSRCDIR}/buildlink3.mk"
Cheers,
Ben
Home |
Main Index |
Thread Index |
Old Index