summaryrefslogtreecommitdiffstats
path: root/libraries/libdockapp/Fixup-examples-sharedir.patch
blob: 7dda9e1ce30a280ab3615b66115cedb6b624c976 (plain)
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