openbsd-ports/net/xchat/patches/patch-po_Makefile_in_in
naddy 060156bf3f Update to 1.6.3.
Replace unresponsive maintainer.
Submitted by Couderc Damien <couderc.damien@wanadoo.fr>.
2001-01-22 00:26:48 +00:00

34 lines
1.1 KiB
Plaintext

$OpenBSD: patch-po_Makefile_in_in,v 1.1 2001/01/22 00:26:49 naddy Exp $
--- po/Makefile.in.in.orig Sun Oct 31 12:17:50 1999
+++ po/Makefile.in.in Mon Jan 15 18:49:55 2001
@@ -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 \