Blob Blame Raw
diff -up ./Makefile.in.localedir ./Makefile.in
--- ./Makefile.in.localedir	2008-12-16 23:20:40.000000000 +0100
+++ ./Makefile.in	2008-12-16 23:20:40.000000000 +0100
@@ -32,6 +32,7 @@ GETTEXTLIBS=
 # LINGUAS: translations to be installed. Look in po directory for available
 #  translations.
 LOCALEDIR=$(prefix)/share/locale
+BIND_DIR=$(prefix)/share/locale
 LINGUAS=
 
 # Unicode/ICU config
@@ -74,7 +75,7 @@ dist-clean: clean
 	rm -rf dwdiff config.log Makefile
 
 .c.o:
-	$(CC) $(CFLAGS) $(GETTEXTFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" $(ICUFLAGS) -c -o $@ $<
+	$(CC) $(CFLAGS) $(GETTEXTFLAGS) -DLOCALEDIR=\"$(BIND_DIR)\" $(ICUFLAGS) -c -o $@ $<
 
 dwdiff: $(OBJECTS)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o dwdiff $(OBJECTS) $(LDLIBS) $(ICULIBS) $(GETTEXTLIBS)
diff -up ./configure.localedir ./configure
--- ./configure.localedir	2008-12-16 23:12:29.000000000 +0100
+++ ./configure	2008-12-16 23:08:13.000000000 +0100
@@ -144,6 +144,7 @@ create_makefile() {
 		replace_default prefix "${PREFIX}"
 		replace_default mandir "${MANDIR}"
 		replace_default CFLAGS "${CFLAGS}"
+		replace_default BIND_DIR "${BIND_DIR}"
 
 
 		[ -n "${TEST_INSTALL}" ] && replace_default INSTALL "${INSTALL}"
@@ -212,6 +213,9 @@ EOF
 		--prefix=*)
 			PREFIX=`echo "${PARAM}" | sed 's/^--prefix=//'`
 		;;
+		--binddir=*)
+			BIND_DIR=`echo "${PARAM}" | sed 's/--binddir=//g'`
+		;;
 		--mandir=*)
 			MANDIR=`echo "${PARAM}" | sed 's/^--mandir=//'`
 		;;