pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2017Q1]: pkgsrc/x11/matchbox-panel Pullup ticket #5417 - reque...
details: https://anonhg.NetBSD.org/pkgsrc/rev/35a4acedab24
branches: pkgsrc-2017Q1
changeset: 360410:35a4acedab24
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Mon Jun 05 09:17:40 2017 +0000
description:
Pullup ticket #5417 - requested by sevan
x11/matchbox-panel: SunOS build fix
Revisions pulled up:
- x11/matchbox-panel/Makefile 1.32
- x11/matchbox-panel/distinfo 1.4
- x11/matchbox-panel/patches/patch-po_Makefile.in 1.1
---
Module Name: pkgsrc
Committed By: jperkin
Date: Thu May 11 15:09:14 UTC 2017
Modified Files:
pkgsrc/x11/matchbox-panel: Makefile distinfo
Added Files:
pkgsrc/x11/matchbox-panel/patches: patch-po_Makefile.in
Log Message:
Use PKGLOCALEDIR. Fix build on SunOS.
diffstat:
x11/matchbox-panel/Makefile | 8 ++++--
x11/matchbox-panel/distinfo | 3 +-
x11/matchbox-panel/patches/patch-po_Makefile.in | 28 +++++++++++++++++++++++++
3 files changed, 35 insertions(+), 4 deletions(-)
diffs (71 lines):
diff -r 2892a99fd6ef -r 35a4acedab24 x11/matchbox-panel/Makefile
--- a/x11/matchbox-panel/Makefile Mon Jun 05 09:14:41 2017 +0000
+++ b/x11/matchbox-panel/Makefile Mon Jun 05 09:17:40 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2014/02/16 01:36:31 wiedi Exp $
+# $NetBSD: Makefile,v 1.31.26.1 2017/06/05 09:17:40 bsiegert Exp $
#
DISTNAME= matchbox-panel-0.9.2
@@ -23,11 +23,13 @@
CFLAGS.SunOS+= -Du_int64_t=uint64_t
+MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
+
.include "../../mk/bsd.prefs.mk"
PLIST_VARS= apm
-.if ${OPSYS} == "DragonFly" || \
- ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "x86_64"
+.if ${OPSYS} == "DragonFly" || ${OPSYS} == "SunOS" || \
+ (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "x86_64")
# Nada
.else
PLIST.apm= yes
diff -r 2892a99fd6ef -r 35a4acedab24 x11/matchbox-panel/distinfo
--- a/x11/matchbox-panel/distinfo Mon Jun 05 09:14:41 2017 +0000
+++ b/x11/matchbox-panel/distinfo Mon Jun 05 09:17:40 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 03:28:49 agc Exp $
+$NetBSD: distinfo,v 1.3.12.1 2017/06/05 09:17:40 bsiegert Exp $
SHA1 (matchbox-panel-0.9.2.tar.bz2) = 438830e4f4bd59e953f1c131939a2081c0b6ec95
RMD160 (matchbox-panel-0.9.2.tar.bz2) = 65e5849c04433354cae645af05aff7f6dd9e21e2
@@ -8,3 +8,4 @@
SHA1 (patch-ab) = 344b035bc716fad713d70f2e64578b2792799ebb
SHA1 (patch-ae) = f3581aa0621b82f62f26d2b248ac68316b243832
SHA1 (patch-af) = 994f4097ca63201a7606b75bcca52b366172cf85
+SHA1 (patch-po_Makefile.in) = ad88b17cb60c3cc4a7edc20035915b1b4901f9a9
diff -r 2892a99fd6ef -r 35a4acedab24 x11/matchbox-panel/patches/patch-po_Makefile.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/matchbox-panel/patches/patch-po_Makefile.in Mon Jun 05 09:17:40 2017 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-po_Makefile.in,v 1.1.2.2 2017/06/05 09:17:40 bsiegert Exp $
+
+Use PKGLOCALEDIR.
+
+--- po/Makefile.in.orig 2005-04-11 09:18:54.000000000 +0000
++++ po/Makefile.in
+@@ -324,15 +324,15 @@ update.po: matchbox.pot
+ done
+
+ install-data-local: $(CATALOGS)
+- $(mkinstalldirs) $(DESTDIR)$(datadir)/locale
+- chmod 755 $(DESTDIR)$(datadir)/locale
++ $(mkinstalldirs) $(DESTDIR)$(PREFIX)/$(PKGLOCALEDIR)/locale
++ chmod 755 $(DESTDIR)$(PREFIX)/$(PKGLOCALEDIR)/locale
+ for n in $(CATALOGS) __DuMmY ; do \
+ if test "$$n" -a "$$n" != "__DuMmY" ; then \
+ l=`basename $$n .mo`; \
+- $(mkinstalldirs) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES; \
+- chmod 755 $(DESTDIR)$(datadir)/locale/$$l; \
+- chmod 755 $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES; \
+- $(INSTALL_DATA) -m 644 $$n $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/matchbox-panel.mo; \
++ $(mkinstalldirs) $(DESTDIR)$(PREFIX)/$(PKGLOCALEDIR)/locale/$$l/LC_MESSAGES; \
++ chmod 755 $(DESTDIR)$(PREFIX)/$(PKGLOCALEDIR)/locale/$$l; \
++ chmod 755 $(DESTDIR)$(PREFIX)/$(PKGLOCALEDIR)/locale/$$l/LC_MESSAGES; \
++ $(INSTALL_DATA) -m 644 $$n $(DESTDIR)$(PREFIX)/$(PKGLOCALEDIR)/locale/$$l/LC_MESSAGES/matchbox-panel.mo; \
+ fi; \
+ done
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
Home |
Main Index |
Thread Index |
Old Index