pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/gcpio



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Wed May  1 22:11:23 UTC 2024

Modified Files:
        pkgsrc/archivers/gcpio: Makefile PLIST
Added Files:
        pkgsrc/archivers/gcpio: options.mk

Log Message:
Add option "nls" enabled by default


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/archivers/gcpio/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/archivers/gcpio/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/gcpio/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/archivers/gcpio/Makefile
diff -u pkgsrc/archivers/gcpio/Makefile:1.54 pkgsrc/archivers/gcpio/Makefile:1.55
--- pkgsrc/archivers/gcpio/Makefile:1.54        Sun Feb 16 00:35:19 2020
+++ pkgsrc/archivers/gcpio/Makefile     Wed May  1 22:11:22 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2020/02/16 00:35:19 mef Exp $
+# $NetBSD: Makefile,v 1.55 2024/05/01 22:11:22 cheusov Exp $
 
 DISTNAME=      cpio-2.13
 PKGNAME=       g${DISTNAME}
@@ -29,6 +29,7 @@ CONFIGURE_ARGS+=      --program-prefix=g
 PLIST_VARS+=   rmt
 
 .include "../../mk/bsd.prefs.mk"
+.include "options.mk"
 
 # don't include rmt if gtar won't build it
 # macOS does not support rmt driver, so it won't be built
@@ -42,5 +43,4 @@ post-install:
        ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gcpio.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/cpio.1
        ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gmt.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/mt.1
 
-.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/archivers/gcpio/PLIST
diff -u pkgsrc/archivers/gcpio/PLIST:1.18 pkgsrc/archivers/gcpio/PLIST:1.19
--- pkgsrc/archivers/gcpio/PLIST:1.18   Fri Feb 21 16:21:34 2020
+++ pkgsrc/archivers/gcpio/PLIST        Wed May  1 22:11:22 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2020/02/21 16:21:34 gutteridge Exp $
+@comment $NetBSD: PLIST,v 1.19 2024/05/01 22:11:22 cheusov Exp $
 bin/gcpio
 gnu/bin/cpio
 gnu/man/man1/cpio.1
@@ -7,29 +7,29 @@ info/cpio.info
 ${PLIST.rmt}libexec/grmt
 man/man1/gcpio.1
 ${PLIST.rmt}man/man8/grmt.8
-share/locale/da/LC_MESSAGES/cpio.mo
-share/locale/de/LC_MESSAGES/cpio.mo
-share/locale/es/LC_MESSAGES/cpio.mo
-share/locale/fi/LC_MESSAGES/cpio.mo
-share/locale/fr/LC_MESSAGES/cpio.mo
-share/locale/ga/LC_MESSAGES/cpio.mo
-share/locale/gl/LC_MESSAGES/cpio.mo
-share/locale/hr/LC_MESSAGES/cpio.mo
-share/locale/hu/LC_MESSAGES/cpio.mo
-share/locale/id/LC_MESSAGES/cpio.mo
-share/locale/it/LC_MESSAGES/cpio.mo
-share/locale/ja/LC_MESSAGES/cpio.mo
-share/locale/ko/LC_MESSAGES/cpio.mo
-share/locale/nl/LC_MESSAGES/cpio.mo
-share/locale/pl/LC_MESSAGES/cpio.mo
-share/locale/pt/LC_MESSAGES/cpio.mo
-share/locale/pt_BR/LC_MESSAGES/cpio.mo
-share/locale/ro/LC_MESSAGES/cpio.mo
-share/locale/ru/LC_MESSAGES/cpio.mo
-share/locale/sr/LC_MESSAGES/cpio.mo
-share/locale/sv/LC_MESSAGES/cpio.mo
-share/locale/tr/LC_MESSAGES/cpio.mo
-share/locale/uk/LC_MESSAGES/cpio.mo
-share/locale/vi/LC_MESSAGES/cpio.mo
-share/locale/zh_CN/LC_MESSAGES/cpio.mo
-share/locale/zh_TW/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/ga/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/gl/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/id/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/cpio.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/cpio.mo

Added files:

Index: pkgsrc/archivers/gcpio/options.mk
diff -u /dev/null pkgsrc/archivers/gcpio/options.mk:1.1
--- /dev/null   Wed May  1 22:11:23 2024
+++ pkgsrc/archivers/gcpio/options.mk   Wed May  1 22:11:22 2024
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2024/05/01 22:11:22 cheusov Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.gcpio
+
+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