pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libxml2



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Jan 27 14:49:37 UTC 2023

Modified Files:
        pkgsrc/textproc/libxml2: Makefile Makefile.common

Log Message:
libxml2: Ensure --sysconfdir is passed.

Fixes widespread breakage of recent update on systems where PKG_SYSCONFDIR
is not PREFIX/etc so the catalog files could not be found.

Move PKGREVISION out of Makefile.common and bump.


To generate a diff of this commit:
cvs rdiff -u -r1.166 -r1.167 pkgsrc/textproc/libxml2/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/libxml2/Makefile.common

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

Modified files:

Index: pkgsrc/textproc/libxml2/Makefile
diff -u pkgsrc/textproc/libxml2/Makefile:1.166 pkgsrc/textproc/libxml2/Makefile:1.167
--- pkgsrc/textproc/libxml2/Makefile:1.166      Sun Jan 22 10:30:08 2023
+++ pkgsrc/textproc/libxml2/Makefile    Fri Jan 27 14:49:37 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.166 2023/01/22 10:30:08 wiz Exp $
+# $NetBSD: Makefile,v 1.167 2023/01/27 14:49:37 jperkin Exp $
 
 .include "../../textproc/libxml2/Makefile.common"
 
+PKGREVISION=   2
 COMMENT=       XML parser library from the GNOME project
 LICENSE=       modified-bsd
 
@@ -9,6 +10,7 @@ USE_FEATURES=          glob
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --with-html-dir=${PREFIX}/share/doc/libxml2
 CONFIGURE_ARGS+=       --with-iconv=${BUILDLINK_PREFIX.iconv}
 CONFIGURE_ARGS+=       --with-zlib=${BUILDLINK_PREFIX.zlib}

Index: pkgsrc/textproc/libxml2/Makefile.common
diff -u pkgsrc/textproc/libxml2/Makefile.common:1.18 pkgsrc/textproc/libxml2/Makefile.common:1.19
--- pkgsrc/textproc/libxml2/Makefile.common:1.18        Thu Jan 26 01:49:16 2023
+++ pkgsrc/textproc/libxml2/Makefile.common     Fri Jan 27 14:49:37 2023
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile.common,v 1.18 2023/01/26 01:49:16 gutteridge Exp $
+# $NetBSD: Makefile.common,v 1.19 2023/01/27 14:49:37 jperkin Exp $
 #
 # used by textproc/libxml2/Makefile
 # used by textproc/py-libxml2/Makefile
 
 DISTNAME=      libxml2-2.10.3
-PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/libxml2/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz



Home | Main Index | Thread Index | Old Index