slackbuilds_ponce/libraries/libdockapp/Fixup-examples-sharedir.patch

18 lines
696 B
Diff
Raw Normal View History

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