pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libidn



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Wed May  1 22:32:15 UTC 2024

Modified Files:
        pkgsrc/devel/libidn: Makefile PLIST
Added Files:
        pkgsrc/devel/libidn: options.mk

Log Message:
Add option "nls" enabled by default


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 pkgsrc/devel/libidn/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/libidn/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libidn/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/devel/libidn/Makefile
diff -u pkgsrc/devel/libidn/Makefile:1.112 pkgsrc/devel/libidn/Makefile:1.113
--- pkgsrc/devel/libidn/Makefile:1.112  Sun Jan 21 19:55:07 2024
+++ pkgsrc/devel/libidn/Makefile        Wed May  1 22:32:15 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.112 2024/01/21 19:55:07 wiz Exp $
+# $NetBSD: Makefile,v 1.113 2024/05/01 22:32:15 cheusov Exp $
 
 DISTNAME=      libidn-1.42
 CATEGORIES=    devel
@@ -26,7 +26,9 @@ CONFIGURE_ARGS.Interix+=      --disable-ld-ve
 PKGCONFIG_OVERRIDE+=   lib/libidn.pc.in
 TEST_TARGET=           check
 
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
 .include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libgetopt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/libidn/PLIST
diff -u pkgsrc/devel/libidn/PLIST:1.26 pkgsrc/devel/libidn/PLIST:1.27
--- pkgsrc/devel/libidn/PLIST:1.26      Sun Jan 21 19:55:07 2024
+++ pkgsrc/devel/libidn/PLIST   Wed May  1 22:32:15 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2024/01/21 19:55:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.27 2024/05/01 22:32:15 cheusov Exp $
 bin/idn
 include/idn-free.h
 include/idn-int.h
@@ -59,26 +59,26 @@ man/man3/tld_get_4z.3
 man/man3/tld_get_table.3
 man/man3/tld_get_z.3
 man/man3/tld_strerror.3
-share/locale/cs/LC_MESSAGES/libidn.mo
-share/locale/da/LC_MESSAGES/libidn.mo
-share/locale/de/LC_MESSAGES/libidn.mo
-share/locale/eo/LC_MESSAGES/libidn.mo
-share/locale/es/LC_MESSAGES/libidn.mo
-share/locale/fi/LC_MESSAGES/libidn.mo
-share/locale/fr/LC_MESSAGES/libidn.mo
-share/locale/hr/LC_MESSAGES/libidn.mo
-share/locale/hu/LC_MESSAGES/libidn.mo
-share/locale/id/LC_MESSAGES/libidn.mo
-share/locale/it/LC_MESSAGES/libidn.mo
-share/locale/ja/LC_MESSAGES/libidn.mo
-share/locale/ka/LC_MESSAGES/libidn.mo
-share/locale/ko/LC_MESSAGES/libidn.mo
-share/locale/nl/LC_MESSAGES/libidn.mo
-share/locale/pl/LC_MESSAGES/libidn.mo
-share/locale/pt_BR/LC_MESSAGES/libidn.mo
-share/locale/ro/LC_MESSAGES/libidn.mo
-share/locale/sr/LC_MESSAGES/libidn.mo
-share/locale/sv/LC_MESSAGES/libidn.mo
-share/locale/uk/LC_MESSAGES/libidn.mo
-share/locale/vi/LC_MESSAGES/libidn.mo
-share/locale/zh_CN/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/id/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/ka/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/libidn.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/libidn.mo

Added files:

Index: pkgsrc/devel/libidn/options.mk
diff -u /dev/null pkgsrc/devel/libidn/options.mk:1.1
--- /dev/null   Wed May  1 22:32:15 2024
+++ pkgsrc/devel/libidn/options.mk      Wed May  1 22:32:15 2024
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2024/05/01 22:32:15 cheusov Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.libidn
+
+PKG_SUPPORTED_OPTIONS=         nls
+PKG_SUGGESTED_OPTIONS=         nls
+
+PLIST_VARS+=   nls
+
+.include "../../mk/bsd.options.mk"
+
+# nls
+.if !empty(PKG_OPTIONS:Mnls)
+.include "../../devel/gettext-lib/buildlink3.mk"
+PLIST.nls=     yes
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif



Home | Main Index | Thread Index | Old Index