Subject: option 2 patch
To: None <tech-pkg@netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 08/27/2000 14:59:58
I forgot the patch to do option 2 from my previous email.

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/

--- Makefile	2000/08/27 07:11:02	1.11
+++ Makefile	2000/08/27 18:54:03
@@ -10,9 +10,12 @@
 HOMEPAGE=	http://theory.uwinnipeg.ca/CPAN/data/Data-Dumper/Dumper.html
 
 USE_PERL5=	# defined
-PERL5_PACKLIST=	${PERL5_SITEARCH}/auto/Data/Dumper/.packlist
 
 do-configure:
 	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
 
 .include "../../mk/bsd.pkg.mk"
+
+.if !exists(${PERL5_ARCHLIB}/auto/Data/Dumper/Dumper.pm)
+PERL5_PACKLIST=	${PERL5_SITEARCH}/auto/Data/Dumper/.packlist
+.endif