Package: iso-codes Version: 0.51-1.1 Severity: normal Tags: patch (This bug has been forwarded from the Alioth BTS for iso-codes on behalf of Julio M. Merino Vidal.)
iso-codes' rules.make file gives the -D argument to the install command, and
this flag is not available on all systems (e.g., NetBSD), causing
installation failures. (In fact, it is available, but has a completely
different purpose.)
rules.make uses -D to create the parent directories of installed files. This
can be worked around by adding calls to $(mkinstalldirs) instead, as the
attached patch does.
Regards,
Tobias
--
Tobias Toedter | "Only two things are infinite, the universe and
Hamburg, Germany | human stupidity, and I'm not sure about the former"
| -- Albert Einstein
Index: rules.make =================================================================== RCS file: /cvsroot/pkg-isocodes/iso-codes/rules.make,v retrieving revision 1.2 diff -u -r1.2 rules.make --- rules.make 5 Feb 2005 21:34:13 -0000 1.2 +++ rules.make 13 Oct 2005 21:30:17 -0000 @@ -12,7 +12,8 @@ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.mo$$//'`; \ dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ - $(INSTALL_DATA) -D $$cat $$dir/$(DOMAIN).mo; \ + $(mkinstalldirs) $$dir; \ + $(INSTALL_DATA) $$cat $$dir/$(DOMAIN).mo; \ done uninstall-hook:
pgph4Bogaan9Y.pgp
Description: PGP signature

