diff options
Diffstat (limited to 'devel/gettext/files/patch-intl::Makefile.in')
-rw-r--r-- | devel/gettext/files/patch-intl::Makefile.in | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/devel/gettext/files/patch-intl::Makefile.in b/devel/gettext/files/patch-intl::Makefile.in new file mode 100644 index 000000000000..66817ee0b75e --- /dev/null +++ b/devel/gettext/files/patch-intl::Makefile.in @@ -0,0 +1,44 @@ + +$FreeBSD$ + +--- intl/Makefile.in 2001/05/29 08:54:24 1.1 ++++ intl/Makefile.in 2001/05/29 09:00:12 +@@ -51,7 +51,7 @@ + YFLAGS = --name-prefix=__gettext + + DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ +--DLIBDIR=\"$(libdir)\" @DEFS@ ++-DLIBDIR=\"$(prefix)/libdata\" @DEFS@ + CPPFLAGS = @CPPFLAGS@ + CFLAGS = @CFLAGS@ + LDFLAGS = @LDFLAGS@ +@@ -151,11 +151,11 @@ + : ; \ + fi + if test '@USE_INCLUDED_LIBINTL@' = yes; then \ +- $(mkinstalldirs) $(DESTDIR)$(libdir); \ +- temp=$(DESTDIR)$(libdir)/t-charset.alias; \ +- dest=$(DESTDIR)$(libdir)/charset.alias; \ +- if test -f $(DESTDIR)$(libdir)/charset.alias; then \ +- orig=$(DESTDIR)$(libdir)/charset.alias; \ ++ $(mkinstalldirs) $(DESTDIR)$(prefix)/libdata; \ ++ temp=$(DESTDIR)$(prefix)/libdata/t-charset.alias; \ ++ dest=$(DESTDIR)$(prefix)/libdata/charset.alias; \ ++ if test -f $(DESTDIR)$(prefix)/libdata/charset.alias; then \ ++ orig=$(DESTDIR)$(prefix)/libdata/charset.alias; \ + sed -f ref-add.sed $$orig > $$temp; \ + $(INSTALL_DATA) $$temp $$dest; \ + rm -f $$temp; \ +@@ -217,9 +217,9 @@ + : ; \ + fi + if test '@USE_INCLUDED_LIBINTL@' = yes; then \ +- if test -f $(DESTDIR)$(libdir)/charset.alias; then \ +- temp=$(DESTDIR)$(libdir)/t-charset.alias; \ +- dest=$(DESTDIR)$(libdir)/charset.alias; \ ++ if test -f $(DESTDIR)$(prefix)/libdata/charset.alias; then \ ++ temp=$(DESTDIR)$(prefix)/libdata/t-charset.alias; \ ++ dest=$(DESTDIR)$(prefix)/libdata/charset.alias; \ + sed -f ref-del.sed $$dest > $$temp; \ + if grep '^# Packages using this file: $$' $$temp > /dev/null; then \ + rm -f $$dest; \ |