diff options
Diffstat (limited to 'libraries/libdockapp/Fixup-examples-sharedir.patch')
-rw-r--r-- | libraries/libdockapp/Fixup-examples-sharedir.patch | 17 |
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 0000000000..7dda9e1ce3 --- /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 |