pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mail/pear-Mail_Mime
On Sun, 10 Oct 2010 21:26:16 +0900, FrÃdÃric Fauberteau
<frederic%fauberteau.org@localhost> wrote:
Hi,
I got an error when I would build php5-pear-Mail_Mime-1.8.0.
The error was an invalid MD5 sum for file scripts/phail.php in
package.xml. I guess the MD5 sum needs to be made again after the
pre-install shbang. I don't have any patch because I don't know how to
do that cleanly, sorry.
I feel that you are not using USE_DESTDIR=yes.
Probably, following patch resolve the issue, bot I don't know about side effect.
RCS file: /cvsroot/pkgsrc/lang/php/pear.mk,v
retrieving revision 1.20
diff -u -r1.20 pear.mk
--- pear.mk 29 Aug 2010 06:08:07 -0000 1.20
+++ pear.mk 10 Oct 2010 12:43:01 -0000
@@ -34,7 +34,7 @@
PEAR_CMD= ${PREFIX}/bin/pear
PEAR_LIB= lib/php
.if ${_USE_DESTDIR} != "no"
-PEAR_DESTDIR= -P ${DESTDIR} -f
+PEAR_DESTDIR= -P ${DESTDIR}
.endif
# Dynamic PLIST, generated via a helper PHP script, which use registry.
@@ -53,7 +53,7 @@
do-install:
cd ${WRKSRC} && ${SETENV} TZ=UTC \
- ${PEAR_CMD} "install" ${PEAR_DESTDIR} -n -O package.xml || exit
1
+ ${PEAR_CMD} "install" ${PEAR_DESTDIR} -f -n -O package.xml ||
exit 1
.if ${_USE_DESTDIR} != "no"
CHECK_FILES_SKIP+= ${PREFIX}/lib/php/\.channels/\.alias/.*\.txt
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index