pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/diffutils



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Wed May  1 21:30:48 UTC 2024

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

Log Message:
Add option "nls" enabled by default


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/devel/diffutils/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/diffutils/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/diffutils/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/diffutils/Makefile
diff -u pkgsrc/devel/diffutils/Makefile:1.42 pkgsrc/devel/diffutils/Makefile:1.43
--- pkgsrc/devel/diffutils/Makefile:1.42        Sat Feb 18 22:54:35 2023
+++ pkgsrc/devel/diffutils/Makefile     Wed May  1 21:30:47 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2023/02/18 22:54:35 fcambus Exp $
+# $NetBSD: Makefile,v 1.43 2024/05/01 21:30:47 cheusov Exp $
 
 DISTNAME=      diffutils-3.9
 CATEGORIES=    devel
@@ -10,6 +10,9 @@ HOMEPAGE=     https://www.gnu.org/software/d
 COMMENT=       GNU diff utilities - find the differences between files
 LICENSE=       gnu-gpl-v3
 
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
 AUTO_MKDIRS=           yes
 INFO_FILES=            yes
 GNU_CONFIGURE=         yes
@@ -30,5 +33,4 @@ post-install:
        ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1
 .endfor
 
-.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/diffutils/PLIST
diff -u pkgsrc/devel/diffutils/PLIST:1.16 pkgsrc/devel/diffutils/PLIST:1.17
--- pkgsrc/devel/diffutils/PLIST:1.16   Sat Feb 18 22:54:35 2023
+++ pkgsrc/devel/diffutils/PLIST        Wed May  1 21:30:47 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2023/02/18 22:54:35 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.17 2024/05/01 21:30:47 cheusov Exp $
 bin/gcmp
 bin/gdiff
 bin/gdiff3
@@ -16,39 +16,39 @@ man/man1/gcmp.1
 man/man1/gdiff.1
 man/man1/gdiff3.1
 man/man1/gsdiff.1
-share/locale/bg/LC_MESSAGES/diffutils.mo
-share/locale/ca/LC_MESSAGES/diffutils.mo
-share/locale/cs/LC_MESSAGES/diffutils.mo
-share/locale/da/LC_MESSAGES/diffutils.mo
-share/locale/de/LC_MESSAGES/diffutils.mo
-share/locale/el/LC_MESSAGES/diffutils.mo
-share/locale/eo/LC_MESSAGES/diffutils.mo
-share/locale/es/LC_MESSAGES/diffutils.mo
-share/locale/fi/LC_MESSAGES/diffutils.mo
-share/locale/fr/LC_MESSAGES/diffutils.mo
-share/locale/ga/LC_MESSAGES/diffutils.mo
-share/locale/gl/LC_MESSAGES/diffutils.mo
-share/locale/he/LC_MESSAGES/diffutils.mo
-share/locale/hr/LC_MESSAGES/diffutils.mo
-share/locale/hu/LC_MESSAGES/diffutils.mo
-share/locale/id/LC_MESSAGES/diffutils.mo
-share/locale/it/LC_MESSAGES/diffutils.mo
-share/locale/ja/LC_MESSAGES/diffutils.mo
-share/locale/ka/LC_MESSAGES/diffutils.mo
-share/locale/ko/LC_MESSAGES/diffutils.mo
-share/locale/lv/LC_MESSAGES/diffutils.mo
-share/locale/ms/LC_MESSAGES/diffutils.mo
-share/locale/nb/LC_MESSAGES/diffutils.mo
-share/locale/nl/LC_MESSAGES/diffutils.mo
-share/locale/pl/LC_MESSAGES/diffutils.mo
-share/locale/pt/LC_MESSAGES/diffutils.mo
-share/locale/pt_BR/LC_MESSAGES/diffutils.mo
-share/locale/ro/LC_MESSAGES/diffutils.mo
-share/locale/ru/LC_MESSAGES/diffutils.mo
-share/locale/sr/LC_MESSAGES/diffutils.mo
-share/locale/sv/LC_MESSAGES/diffutils.mo
-share/locale/tr/LC_MESSAGES/diffutils.mo
-share/locale/uk/LC_MESSAGES/diffutils.mo
-share/locale/vi/LC_MESSAGES/diffutils.mo
-share/locale/zh_CN/LC_MESSAGES/diffutils.mo
-share/locale/zh_TW/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/bg/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/el/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/ga/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/gl/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/he/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/id/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/ka/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/lv/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/ms/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/diffutils.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/diffutils.mo

Added files:

Index: pkgsrc/devel/diffutils/options.mk
diff -u /dev/null pkgsrc/devel/diffutils/options.mk:1.1
--- /dev/null   Wed May  1 21:30:48 2024
+++ pkgsrc/devel/diffutils/options.mk   Wed May  1 21:30:47 2024
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2024/05/01 21:30:47 cheusov Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.diffutils
+
+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