summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-01 14:22:30 +0000
committerwiz <wiz@pkgsrc.org>2014-01-01 14:22:30 +0000
commit8098aeb4affe3aa2f10a6c9badf41a029d76e23e (patch)
tree61735d507e48f6f5c6c85a6f563b27215e71d110 /devel
parentd39340d9692a644d9d46e7ad202dd7356279f514 (diff)
downloadpkgsrc-8098aeb4affe3aa2f10a6c9badf41a029d76e23e.tar.gz
Add pre-test target to improve test results.
From Kai-Uwe Eckhardt.
Diffstat (limited to 'devel')
-rw-r--r--devel/dmake/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/dmake/Makefile b/devel/dmake/Makefile
index 3f9a8a4f2bc..5bc88ea7751 100644
--- a/devel/dmake/Makefile
+++ b/devel/dmake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2013/12/31 18:05:55 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2014/01/01 14:22:30 wiz Exp $
DISTNAME= dmake-4.12.2
CATEGORIES= devel
@@ -19,6 +19,10 @@ INSTALLATION_DIRS= bin share/dmake ${PKGMANDIR}/man1
CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/dmake
+pre-test:
+ ${SH} -c 'for a in 1 2 3 4 5 6 7 8 9 10 11 12;\
+ do ${CHMOD} u+x ${WRKSRC}/tests/targets-$$a ;done'
+
pre-install:
${INSTALL_MAN} ${WRKSRC}/man/dmake.tf \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dmake.1