aboutsummaryrefslogtreecommitdiff
path: root/libraries/libdockapp/Fixup-examples-sharedir.patch
diff options
context:
space:
mode:
authorCezary M. Kruk <c.kruk@bigfoot.com>2010-05-12 23:30:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:30:28 +0200
commit178199f79fb466486342c7ec0502b00f8d2f26a6 (patch)
tree03b36f793e7f23fe3a3b4ecb3efaed79bda1bafb /libraries/libdockapp/Fixup-examples-sharedir.patch
parent4396f7c0f18fbebb6317f89fe4ee63ae77c882d5 (diff)
libraries/libdockapp: Added to 12.2 repository
Diffstat (limited to 'libraries/libdockapp/Fixup-examples-sharedir.patch')
-rw-r--r--libraries/libdockapp/Fixup-examples-sharedir.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/libdockapp/Fixup-examples-sharedir.patch b/libraries/libdockapp/Fixup-examples-sharedir.patch
new file mode 100644
index 0000000000000..7dda9e1ce30a2
--- /dev/null
+++ b/libraries/libdockapp/Fixup-examples-sharedir.patch
@@ -0,0 +1,17 @@
+Don't hardcode SHAREDIR - use prefix/datadir (with DESTDIR as needed)
+ to ease packaging...
+
+Signed-off-by: Robby Workman <rworkman@slackware.com>
+
+diff -Nur libdockapp-0.6.2.orig/examples/Makefile.in libdockapp-0.6.2/examples/Makefile.in
+--- libdockapp-0.6.2.orig/examples/Makefile.in 2008-05-01 04:17:34.000000000 -0500
++++ libdockapp-0.6.2/examples/Makefile.in 2009-05-16 02:04:30.843730264 -0500
+@@ -161,7 +161,7 @@
+ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SHAREDIR = $(DESTDIR)/usr/local/share
++SHAREDIR = $(DESTDIR)/@datadir@
+ BASICDIR = basic
+ BASICSRC = basic/Imakefile basic/README basic/ball_red.xpm basic/basic.c
+ RECTDIR = rectangles