[PATCH] Install ErrorDB into a $datarootdir-path, not $libdir.

Egbert Eich eich at freedesktop.org
Wed Sep 7 07:51:02 PDT 2011


Signed-off-by: Egbert Eich <eich at freedesktop.org>
---
 src/Makefile.am |    2 +-
 xt.pc.in        |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 2b39ec5..727c077 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,7 @@ BUILT_SOURCES = $(BUILT_FILES)
 CLEANFILES = $(BUILT_SOURCES)
 
 SRCH_DEFINES = -DXFILESEARCHPATHDEFAULT=\"$(XFILESEARCHPATHDEFAULT)\"
-ERRORDB_DEFINES = -DERRORDB=\"$(libdir)/X11/XtErrorDB\"
+ERRORDB_DEFINES = -DERRORDB=\"$(datarootdir)/X11/XtErrorDB\"
 
 AM_CFLAGS = $(CWARNFLAGS) $(XT_CFLAGS) $(SRCH_DEFINES) $(ERRORDB_DEFINES) \
 	$(XTMALLOC_ZERO_CFLAGS)
diff --git a/xt.pc.in b/xt.pc.in
index 28ce24a..755e070 100644
--- a/xt.pc.in
+++ b/xt.pc.in
@@ -1,5 +1,6 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
+datarootdir=@datarootdir@
 libdir=@libdir@
 includedir=@includedir@
 appdefaultdir=@appdefaultdir@
-- 
1.7.3.4



More information about the xorg-devel mailing list