pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/py-anita



Module Name:    pkgsrc
Committed By:   rillig
Date:           Mon Apr 27 17:28:37 UTC 2020

Modified Files:
        pkgsrc/misc/py-anita: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/misc/py-anita/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/py-anita/Makefile
diff -u pkgsrc/misc/py-anita/Makefile:1.61 pkgsrc/misc/py-anita/Makefile:1.62
--- pkgsrc/misc/py-anita/Makefile:1.61  Fri Mar 20 12:46:15 2020
+++ pkgsrc/misc/py-anita/Makefile       Mon Apr 27 17:28:37 2020
@@ -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 @@ DEPENDS+=   ${PYPKGPREFIX}-pexpect>=2.1:..
 
 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