keylaunch: add patch to fix badness with 'install -sD'
authorKoen Kooi <koen@openembedded.org>
Wed, 26 Jul 2006 07:34:47 +0000 (07:34 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 26 Jul 2006 07:34:47 +0000 (07:34 +0000)
packages/keylaunch/files/makefile-fix.patch [new file with mode: 0644]
packages/keylaunch/keylaunch_2.0.10.bb

diff --git a/packages/keylaunch/files/makefile-fix.patch b/packages/keylaunch/files/makefile-fix.patch
new file mode 100644 (file)
index 0000000..3027500
--- /dev/null
@@ -0,0 +1,11 @@
+--- /tmp/Makefile      2006-07-26 09:31:43.000000000 +0200
++++ keylaunch-2.0.10/Makefile  2006-07-26 09:32:23.464411000 +0200
+@@ -31,7 +31,7 @@
+       $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
+ install-program: all
+-      install -sD $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
++      install -s -D $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
+       install -D -m 644 $(PROG)rc $(DESTDIR)/etc/$(PROG)rc
+       install -d $(DESTDIR)/etc/X11/Xsession.d
+       install 90$(PROG)  $(DESTDIR)/etc/X11/Xsession.d/90$(PROG)
index 990de0c..e5f0b35 100644 (file)
@@ -1,7 +1,6 @@
 inherit gpe
 
 DEPENDS = "virtual/xserver libxtst libxau libxpm libgpelaunch"
-DEPENDS_append_openzaurus = " display-brightness"
 RDEPENDS_append_openzaurus = " display-brightness"
 
 SECTION = "gpe"
@@ -13,9 +12,10 @@ DESCRIPTION = "A small utility for binding commands to a hot key.\
  program is already running, keylaunch can bring its window to the front\
  rather than just running another copy."
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-PR = "r6"
+PR = "r7"
 
 SRC_URI += " file://keylaunchrc"
+SRC_URI += " file://makefile-fix.patch;patch=1"
 
 do_install_prepend () {
        install ${WORKDIR}/keylaunchrc ${S}/keylaunchrc