pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-File-BaseDir ADD DEPENDS, BUILD_DEPENDS and p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72f165a7c85a
branches:  trunk
changeset: 650323:72f165a7c85a
user:      mef <mef%pkgsrc.org@localhost>
date:      Tue Apr 21 04:31:06 2015 +0000

description:
ADD DEPENDS, BUILD_DEPENDS and pre-test: for make test to PASS

diffstat:

 devel/p5-File-BaseDir/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 98eccaa1512a -r 72f165a7c85a devel/p5-File-BaseDir/Makefile
--- a/devel/p5-File-BaseDir/Makefile    Tue Apr 21 04:16:06 2015 +0000
+++ b/devel/p5-File-BaseDir/Makefile    Tue Apr 21 04:31:06 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2015/04/09 01:23:04 mef Exp $
+# $NetBSD: Makefile,v 1.21 2015/04/21 04:31:06 mef Exp $
 
 DISTNAME=              File-BaseDir-0.06
 PKGNAME=               p5-${DISTNAME}
@@ -10,6 +10,10 @@
 COMMENT=               Perl module for the XDG Base Directory Specification
 LICENSE=               ${PERL5_LICENSE}
 
+DEPENDS+=              p5-IPC-System-Simple-[0-9]*:../../devel/p5-IPC-System-Simple
+# for make test
+BUILD_DEPENDS+=                xdg-user-dirs-[0-9]*:../../x11/xdg-user-dirs
+
 SHAREDIR=              ${PREFIX}/share
 SHAREDIR_SPLIT=                ${SHAREDIR:S/\// /g}
 SUBST_CLASSES+=                paths
@@ -20,5 +24,8 @@
 PERL5_MODULE_TYPE=     Module::Build
 PERL5_PACKLIST=                auto/File/BaseDir/.packlist
 
+pre-test:
+       ${MKDIR} ${WRKDIR}/.home/.config/user-dirs.dirs
+
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index