pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-sphinxcontrib-serializinghtml sphinxcontri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e0e7971cd80b
branches:  trunk
changeset: 412630:e0e7971cd80b
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Tue Mar 10 14:51:12 2020 +0000

description:
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.)

diffstat:

 textproc/py-sphinxcontrib-serializinghtml/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r fd9c6e7dca93 -r e0e7971cd80b textproc/py-sphinxcontrib-serializinghtml/Makefile
--- a/textproc/py-sphinxcontrib-serializinghtml/Makefile        Tue Mar 10 14:43:07 2020 +0000
+++ b/textproc/py-sphinxcontrib-serializinghtml/Makefile        Tue Mar 10 14:51:12 2020 +0000
@@ -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 @@
 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