pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-sphinxcontrib-serializinghtml



Module Name:    pkgsrc
Committed By:   gdt
Date:           Tue Mar 10 14:51:12 UTC 2020

Modified Files:
        pkgsrc/textproc/py-sphinxcontrib-serializinghtml: Makefile

Log Message:
sphinxcontrib: Limit bsdtar use to affected platforms

Only force bsdtar if NetBSD <=8.

(This is still being discussed on tech-pkg; apparently the previous
fix was not aware of the (rapidly moving around) discussion.)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/textproc/py-sphinxcontrib-serializinghtml/Makefile

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

Modified files:

Index: pkgsrc/textproc/py-sphinxcontrib-serializinghtml/Makefile
diff -u pkgsrc/textproc/py-sphinxcontrib-serializinghtml/Makefile:1.3 pkgsrc/textproc/py-sphinxcontrib-serializinghtml/Makefile:1.4
--- pkgsrc/textproc/py-sphinxcontrib-serializinghtml/Makefile:1.3       Sat Mar  7 23:30:23 2020
+++ pkgsrc/textproc/py-sphinxcontrib-serializinghtml/Makefile   Tue Mar 10 14:51:12 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/03/07 23:30:23 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2020/03/10 14:51:12 gdt Exp $
 
 DISTNAME=      sphinxcontrib-serializinghtml-1.1.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,7 +10,12 @@ HOMEPAGE=    http://sphinx-doc.org/
 COMMENT=       Sphinx API for "serialized" HTML files
 LICENSE=       2-clause-bsd
 
+# On NetBSD, pax-as-tar fails on this distfile <= 8.  (Accomodate 5-7
+# even though they are unsupported.)
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == NetBSD && !empty(OS_VERSION:M[5678].*)
 EXTRACT_USING= bsdtar
+.endif
 
 TEST_DEPENDS+= ${PYPKGPREFIX}-sphinx>=2.0.0:../../textproc/py-sphinx
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test



Home | Main Index | Thread Index | Old Index