pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-libxml2 py-libxml2: fix packaging checks w...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ccb5387cc8ad
branches: trunk
changeset: 375502:ccb5387cc8ad
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Tue Mar 15 03:21:20 2022 +0000
description:
py-libxml2: fix packaging checks when PREFIX is /usr/local
Substituting for /usr/local is a no-op in this case. Addresses
PR pkg/56747 from John Klos.
diffstat:
textproc/py-libxml2/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r e1a78523c496 -r ccb5387cc8ad textproc/py-libxml2/Makefile
--- a/textproc/py-libxml2/Makefile Tue Mar 15 02:30:23 2022 +0000
+++ b/textproc/py-libxml2/Makefile Tue Mar 15 03:21:20 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2022/03/12 07:33:22 kim Exp $
+# $NetBSD: Makefile,v 1.79 2022/03/15 03:21:20 gutteridge Exp $
.include "../../textproc/libxml2/Makefile.common"
@@ -16,6 +16,7 @@
SUBST_MESSAGE.setup= Fixing hardcoded paths.
SUBST_STAGE.setup= pre-build
SUBST_FILES.setup= python/setup.py
+SUBST_NOOP_OK.setup= yes # PREFIX may be /usr/local
SUBST_SED.setup= -e "/ROOT/s,'/usr/local','${BUILDLINK_PREFIX.libxml2}',g"
SUBST_SED.setup+= -e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g"
SUBST_SED.setup+= -e "/^\"/s,/usr/local/include,${BUILDLINK_PREFIX.iconv}/include,g"
Home |
Main Index |
Thread Index |
Old Index