pkgsrc-WIP-changes archive

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

lumina: fix unportable test(1) operator.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Nov 7 01:09:02 2016 +0100
Changeset:	fe2df58041fb188cce07b3984868754593b2d9c7

Modified Files:
	lumina/Makefile
	lumina/distinfo
Added Files:
	lumina/patches/patch-src-qt5_core_menu-scripts_ls.json.sh

Log Message:
lumina: fix unportable test(1) operator.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fe2df58041fb188cce07b3984868754593b2d9c7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lumina/Makefile                                           |  3 +++
 lumina/distinfo                                           |  1 +
 lumina/patches/patch-src-qt5_core_menu-scripts_ls.json.sh | 12 ++++++++++++
 3 files changed, 16 insertions(+)

diffs:
diff --git a/lumina/Makefile b/lumina/Makefile
index f92bf4d..b1c17c9 100644
--- a/lumina/Makefile
+++ b/lumina/Makefile
@@ -33,6 +33,9 @@ pre-install:
 	${RUN} ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
 	${RUN} ${INSTALL_DATA} ${WRKSRC}/src-qt5/core/lumina-desktop/defaults/luminaDesktop.conf ${DESTDIR}${EGDIR}
 
+post-install:
+	${RM} -f ${DESTDIR}${PREFIX}/share/lumina-desktop/menu-scripts/ls.json.sh.orig
+
 .include "../../x11/libXdamage/buildlink3.mk"
 .include "../../x11/libxcb/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff --git a/lumina/distinfo b/lumina/distinfo
index d423af6..9e45663 100644
--- a/lumina/distinfo
+++ b/lumina/distinfo
@@ -5,3 +5,4 @@ RMD160 (lumina-qt5-1.1.0.tar.gz) = 95bc1c1bdc0b59880693c5985105e921d0033652
 SHA512 (lumina-qt5-1.1.0.tar.gz) = 79b48e70fd7be3708966221c25025a8013a3ef96e00681056e99dfdd60809a3ff9d2048b3767d9fbc57c1c4f7e00fb36659cdca86fa41a322f125e9e061e88e0
 Size (lumina-qt5-1.1.0.tar.gz) = 55828227 bytes
 SHA1 (patch-OS-detect.pri) = d92d95bc56083d131c1029038a7c5d59433cfb3e
+SHA1 (patch-src-qt5_core_menu-scripts_ls.json.sh) = 8e4d157367391ff0bb3f69840c5dc19d44f9ac11
diff --git a/lumina/patches/patch-src-qt5_core_menu-scripts_ls.json.sh b/lumina/patches/patch-src-qt5_core_menu-scripts_ls.json.sh
new file mode 100644
index 0000000..f0702ff
--- /dev/null
+++ b/lumina/patches/patch-src-qt5_core_menu-scripts_ls.json.sh
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- src-qt5/core/menu-scripts/ls.json.sh.orig	2016-10-21 14:48:55.000000000 +0000
++++ src-qt5/core/menu-scripts/ls.json.sh
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ DIR=${1}
+-if [ "$1" == "" ] ; then
++if [ "$1" = "" ] ; then
+   DIR=`pwd`
+ fi
+ 


Home | Main Index | Thread Index | Old Index