pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[.joined/pkgsrc/trunk]: .joined/pkgsrc/textproc/py-libxml2 py-libxml2: simplify
details: https://anonhg.NetBSD.org/.joined/pkgsrc/rev/219bf22726a3
branches: trunk
changeset: 370925:219bf22726a3
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Jan 01 21:21:14 2022 +0000
description:
py-libxml2: simplify
Fix some pkglint while here.
diffstat:
textproc/py-libxml2/Makefile | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r b053afe6536a -r 219bf22726a3 textproc/py-libxml2/Makefile
--- a/textproc/py-libxml2/Makefile Sat Jan 01 20:18:10 2022 +0000
+++ b/textproc/py-libxml2/Makefile Sat Jan 01 21:21:14 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2021/12/31 15:18:37 tnn Exp $
+# $NetBSD: Makefile,v 1.73 2022/01/01 21:21:14 wiz Exp $
.include "../../textproc/libxml2/Makefile.common"
@@ -27,6 +27,7 @@
.if ${OPSYS} == "Darwin"
post-install: fix-darwin-install-name
+.PHONY: fix-darwin-install-name
fix-darwin-install-name:
install_name_tool -id ${PREFIX}/${PYSITELIB}/libxml2mod.so \
${DESTDIR}${PREFIX}/${PYSITELIB}/libxml2mod.so
@@ -37,10 +38,7 @@
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
.include "../../lang/python/egg.mk"
-PLIST_VARS+= py3x
-.if ${_PYTHON_VERSION} > 27
-PLIST.py3x= yes
-.else
+.if ${PYPKGPREFIX} == "py27"
_PYSETUPTOOLSINSTALLARGS:= ${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed}
.endif
.include "../../converters/libiconv/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index