pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-libxml2
Module Name: pkgsrc
Committed By: gutteridge
Date: Tue Mar 15 03:21:20 UTC 2022
Modified Files:
pkgsrc/textproc/py-libxml2: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 pkgsrc/textproc/py-libxml2/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-libxml2/Makefile
diff -u pkgsrc/textproc/py-libxml2/Makefile:1.78 pkgsrc/textproc/py-libxml2/Makefile:1.79
--- pkgsrc/textproc/py-libxml2/Makefile:1.78 Sat Mar 12 07:33:22 2022
+++ pkgsrc/textproc/py-libxml2/Makefile Tue Mar 15 03:21:20 2022
@@ -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_CLASSES+= setup
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