tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perl packlist/PLIST issue



Hello,

I have patch for issue with generating PLIST from Perl .packlist file.
Now it's reading existing .packlist from ${PREFIX} and appends it to
new .packlist in ${DESTDIR}. My patch causes to read .packlist from
file in ${DESTDIR}, which generally doesn't exist yet. ;-) I've tested
on my systems and generally it works, with and without USE_DESTDIR. If
there are no objection, I'll commit it in couple of days.

Daniel

-- 
Daniel Horecki
http://morr.pl http://linux.pl http://netbsd.pl http://netbsd.org
HAIL ERIS!
Index: lang/perl5/module.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/perl5/module.mk,v
retrieving revision 1.61
diff -u -r1.61 module.mk
--- lang/perl5/module.mk        16 Jan 2010 15:02:14 -0000      1.61
+++ lang/perl5/module.mk        27 Apr 2010 20:44:08 -0000
@@ -211,8 +211,9 @@
 #
 # The PREFIX in the generated Makefile will point to ${_PERL5_PREFIX},
 # so override its value to the module's ${PREFIX}.
+# Also, set VENDORARCHEXP, so existing .packlist won't be read.
 #
-PERL5_MAKE_FLAGS.makemaker+=   PREFIX=${PREFIX:Q}
+PERL5_MAKE_FLAGS.makemaker+=   PREFIX=${PREFIX:Q} 
VENDORARCHEXP=${DESTDIR}${PERL5_INSTALLVENDORARCH}
 
 PERL5_MAKE_FLAGS+=     ${PERL5_MAKE_FLAGS.${_PERL5_MODTYPE}}
 MAKE_FLAGS+=           ${PERL5_MAKE_FLAGS}


Home | Main Index | Thread Index | Old Index