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:   adam
Date:           Sun Apr 12 07:21:04 UTC 2020

Modified Files:
        pkgsrc/textproc/libxml2: buildlink3.mk options.mk

Log Message:
libxml2: add icu option


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/libxml2/buildlink3.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/libxml2/options.mk

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/buildlink3.mk
diff -u pkgsrc/textproc/libxml2/buildlink3.mk:1.18 pkgsrc/textproc/libxml2/buildlink3.mk:1.19
--- pkgsrc/textproc/libxml2/buildlink3.mk:1.18  Thu Jun 14 07:39:37 2012
+++ pkgsrc/textproc/libxml2/buildlink3.mk       Sun Apr 12 07:21:04 2020
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2012/06/14 07:39:37 sbd Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2020/04/12 07:21:04 adam Exp $
 
 BUILDLINK_TREE+=       libxml2
 
@@ -13,6 +13,12 @@ BUILDLINK_FILES.libxml2+=    bin/xml2-confi
 
 USE_FEATURES+=         glob
 
+pkgbase := libxml2
+.include "../../mk/pkg-build-options.mk"
+.if ${PKG_BUILD_OPTIONS.libxml2:Micu}
+.include "../../textproc/icu/buildlink3.mk"
+.endif
+
 .include "../../archivers/xz/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"

Index: pkgsrc/textproc/libxml2/options.mk
diff -u pkgsrc/textproc/libxml2/options.mk:1.2 pkgsrc/textproc/libxml2/options.mk:1.3
--- pkgsrc/textproc/libxml2/options.mk:1.2      Tue Jun 12 15:46:03 2012
+++ pkgsrc/textproc/libxml2/options.mk  Sun Apr 12 07:21:04 2020
@@ -1,11 +1,18 @@
-# $NetBSD: options.mk,v 1.2 2012/06/12 15:46:03 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2020/04/12 07:21:04 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.libxml2
-PKG_SUPPORTED_OPTIONS+=        inet6
+PKG_SUPPORTED_OPTIONS+=        icu inet6
 PKG_SUGGESTED_OPTIONS= inet6
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Micu)
+.include "../../textproc/icu/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-icu
+.else
+CONFIGURE_ARGS+=       --without-icu
+.endif
+
 .if !empty(PKG_OPTIONS:Minet6)
 CONFIGURE_ARGS+=       --enable-ipv6
 .else



Home | Main Index | Thread Index | Old Index