pkgsrc-Bugs archive

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

pkg/52552: [patch] archivers/xz: honor PKGLOCALEDIR



>Number:         52552
>Category:       pkg
>Synopsis:       [patch] archivers/xz: honor PKGLOCALEDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 18 15:05:00 +0000 2017
>Originator:     Matteo Cypriani
>Release:        
>Environment:
	SunOS 5.11 illumos-202ca9ae46 i86pc i386
>Description:
	On SunOS, locale files are installed under share/locale instead
	of lib/locale. The attached patch fixes this.
>Fix:
commit e8c1660ef39d61ae825f048df9d9c6372d95dc3d
Author: Matteo Cypriani <mcy%lm7.fr@localhost>
Date:   Sun Sep 17 13:26:29 2017 -0400

    archivers/xz: honor PKGLOCALEDIR

diff --git a/archivers/xz/Makefile b/archivers/xz/Makefile
index 10d5b2c..bbaa963 100644
--- a/archivers/xz/Makefile
+++ b/archivers/xz/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.25 2017/09/06 09:03:00 wiz Exp $
 
 DISTNAME=	xz-5.2.3
+PKGREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	https://tukaani.org/xz/
 EXTRACT_SUFX=	.tar.bz2
diff --git a/archivers/xz/options.mk b/archivers/xz/options.mk
index 12f1c91..a33ac86 100644
--- a/archivers/xz/options.mk
+++ b/archivers/xz/options.mk
@@ -9,6 +9,7 @@ PKG_SUGGESTED_OPTIONS=	nls
 PLIST_VARS+=		nls
 
 .if !empty(PKG_OPTIONS:Mnls)
+USE_PKGLOCALEDIR=	yes
 PLIST.nls=		yes
 CONFIGURE_ARGS+=	--enable-nls
 .include "../../devel/gettext-lib/buildlink3.mk"


Home | Main Index | Thread Index | Old Index