pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/py-anita misc/py-anita: skip SUBST block that wou...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b6ad55b861d9
branches: trunk
changeset: 428411:b6ad55b861d9
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Apr 27 17:28:37 2020 +0000
description:
misc/py-anita: skip SUBST block that would be a no-op
This ensures that the package can be built with SUBST_NOOP_OK=no.
diffstat:
misc/py-anita/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r a5b150f64a93 -r b6ad55b861d9 misc/py-anita/Makefile
--- a/misc/py-anita/Makefile Mon Apr 27 17:16:14 2020 +0000
+++ b/misc/py-anita/Makefile Mon Apr 27 17:28:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2020/03/20 12:46:15 gson Exp $
+# $NetBSD: Makefile,v 1.62 2020/04/27 17:28:37 rillig Exp $
DISTNAME= anita-2.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -15,10 +15,14 @@
USE_LANGUAGES= #none
+.include "../../mk/bsd.prefs.mk"
+
+.if ${PKGMANDIR} != man
SUBST_CLASSES+= manpath
SUBST_STAGE.manpath= pre-configure
SUBST_FILES.manpath= setup.py
SUBST_SED.manpath= -e 's,man/,${PKGMANDIR}/,g'
+.endif
do-test:
${TRUE} # Tests not integrated into pkgsrc
Home |
Main Index |
Thread Index |
Old Index