OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.4 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../sharutils/nls-install.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. --- sharutils-4.2.1/po/Makefile.in.in~ 1995-12-04 17:19:48.000000000 +0100
  18. +++ sharutils-4.2.1/po/Makefile.in.in 2003-06-20 13:05:32.000000000 +0200
  19. @@ -117,14 +117,14 @@
  20. install-exec:
  21. install-data: all
  22. $(top_srcdir)/mkinstalldirs $(datadir)
  23. - catalogs='$(CATALOGS)'; \
  24. + catalogs='$(GMOFILES)'; \
  25. for cat in $$catalogs; do \
  26. if test "`echo $$cat | sed 's/.*\(\..*\)/\1/'`" = ".gmo"; then \
  27. destdir=$(gnulocaledir); \
  28. else \
  29. destdir=$(localedir); \
  30. fi; \
  31. - lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \
  32. + lang=`echo $$cat | sed 's/\.[^.]*$$//'`; \
  33. dir=$$destdir/$$lang/LC_MESSAGES; \
  34. $(top_srcdir)/mkinstalldirs $$dir; \
  35. if test -r $$cat; then \