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:46:33 +0900, "OBATA Akio" <> wrote:
On Sun, 10 Oct 2010 21:26:16 +0900, FrÃdÃric Fauberteau
<> wrote:


 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/,v
retrieving revision 1.20
diff -u -r1.20
---     29 Aug 2010 06:08:07 -0000      1.20
+++     10 Oct 2010 12:43:01 -0000
@@ -34,7 +34,7 @@
 PEAR_CMD=      ${PREFIX}/bin/pear
 PEAR_LIB=      lib/php
 .if ${_USE_DESTDIR} != "no"

# Dynamic PLIST, generated via a helper PHP script, which use registry.
@@ -53,7 +53,7 @@

        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

Thank you, I didn't know USE_DESTDIR. The error becomes a warning when I set it to "yes".

FrÃdÃric Fauberteau

Home | Main Index | Thread Index | Old Index