pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/xz
Module Name: pkgsrc
Committed By: nia
Date: Tue Apr 8 14:17:55 UTC 2025
Modified Files:
pkgsrc/archivers/xz: Makefile
Log Message:
xz: Add PRINT_PLIST_AWK.
This should handle the nls option automatically when generating
the PLIST.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/archivers/xz/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/xz/Makefile
diff -u pkgsrc/archivers/xz/Makefile:1.54 pkgsrc/archivers/xz/Makefile:1.55
--- pkgsrc/archivers/xz/Makefile:1.54 Thu Apr 3 16:20:32 2025
+++ pkgsrc/archivers/xz/Makefile Tue Apr 8 14:17:55 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2025/04/03 16:20:32 adam Exp $
+# $NetBSD: Makefile,v 1.55 2025/04/08 14:17:55 nia Exp $
DISTNAME= xz-5.8.1
CATEGORIES= archivers
@@ -27,6 +27,11 @@ CONFIGURE_ARGS+= --disable-assembler
CONFIGURE_ENV.SunOS+= ac_cv_have_decl_optreset=no
CONFIGURE_ENV.SunOS+= gl_cv_cc_visibility=no
+PRINT_PLIST_AWK+= /\.mo/ { $$0 = "$${PLIST.nls}" $$0 }
+.for lang in de fr it ko pt_BR ro sr uk
+PRINT_PLIST_AWK+= /^man\/${lang}\// { $$0 = "$${PLIST.nls}" $$0 }
+.endfor
+
.include "options.mk"
.include "../../mk/pthread.buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index