openbsd-ports/net/xchat/patches/patch-po_Makefile_in_in
brad 245395f4e7 upgrade to xchat 1.8.8
- NLS fixes
- 64-bit fixes
--
Ok'd by: maintainer
2002-03-30 04:50:09 +00:00

34 lines
1.1 KiB
Plaintext

$OpenBSD: patch-po_Makefile_in_in,v 1.3 2002/03/30 04:50:09 brad Exp $
--- po/Makefile.in.in.orig Sun Oct 31 06:17:50 1999
+++ po/Makefile.in.in Wed Mar 27 19:35:39 2002
@@ -18,7 +18,7 @@ VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
-datadir = $(prefix)/@DATADIRNAME@
+datadir = $(prefix)/share
localedir = $(datadir)/locale
gnulocaledir = $(prefix)/share/locale
gettextsrcdir = $(prefix)/share/gettext/po
@@ -111,9 +111,9 @@ install-data: install-data-@USE_NLS@
install-data-no: all
install-data-yes: all
if test -r "$(MKINSTALLDIRS)"; then \
- $(MKINSTALLDIRS) $(datadir); \
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
else \
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
fi
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
@@ -123,7 +123,7 @@ install-data-yes: all
*) destdir=$(localedir);; \
esac; \
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
- dir=$$destdir/$$lang/LC_MESSAGES; \
+ dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $$dir; \
else \