pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/kyua
Module Name: pkgsrc
Committed By: jlam
Date: Wed Jun 7 22:57:02 UTC 2017
Modified Files:
pkgsrc/devel/kyua: Makefile
Log Message:
Fix "make install" in devel/kyua without "tests" package option.
* Add a space after the "@comment" PLIST keyword inserted in the
case where "tests" option is disabled.
* Only create the "${PREFIX}/tests" directory and install the
Kyuafile there if the "tests" option is enabled.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/kyua/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/kyua/Makefile
diff -u pkgsrc/devel/kyua/Makefile:1.13 pkgsrc/devel/kyua/Makefile:1.14
--- pkgsrc/devel/kyua/Makefile:1.13 Sat Apr 22 21:03:31 2017
+++ pkgsrc/devel/kyua/Makefile Wed Jun 7 22:57:02 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2017/04/22 21:03:31 adam Exp $
+# $NetBSD: Makefile,v 1.14 2017/06/07 22:57:02 jlam Exp $
DISTNAME= kyua-0.13
PKGREVISION= 2
@@ -34,13 +34,16 @@ PKG_SYSCONFSUBDIR= kyua
. include "../../devel/atf/buildlink3.mk"
CONFIGURE_ARGS+= --with-atf
PLIST_SUBST+= TESTS=
+
+post-install: post-install-tests
.else
CONFIGURE_ARGS+= --without-atf
-PLIST_SUBST+= TESTS=@comment
+PLIST_SUBST+= TESTS="@comment "
.endif
PRINT_PLIST_AWK+= { sub("^tests/", "$${TESTS}tests/"); }
-post-install:
+.PHONY: post-install-tests
+post-install-tests:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/tests
${INSTALL_DATA} ${WRKSRC}/examples/Kyuafile.top \
${DESTDIR}${PREFIX}/tests/Kyuafile
Home |
Main Index |
Thread Index |
Old Index