diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-03-27 20:01:16 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-03-27 20:01:16 +0000 |
commit | 5463c277178310f1e8f1b69e3a3103974bba1f6e (patch) | |
tree | 3f93d03dee06953921f32c52af625de905413dae /sci-calculators/units/files | |
parent | Increase EAPI to 5 (diff) | |
download | gentoo-2-5463c277178310f1e8f1b69e3a3103974bba1f6e.tar.gz gentoo-2-5463c277178310f1e8f1b69e3a3103974bba1f6e.tar.bz2 gentoo-2-5463c277178310f1e8f1b69e3a3103974bba1f6e.zip |
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'sci-calculators/units/files')
-rw-r--r-- | sci-calculators/units/files/units-2.10-install.patch | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/sci-calculators/units/files/units-2.10-install.patch b/sci-calculators/units/files/units-2.10-install.patch new file mode 100644 index 000000000000..5767adf8e9d4 --- /dev/null +++ b/sci-calculators/units/files/units-2.10-install.patch @@ -0,0 +1,68 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -28,6 +28,7 @@ + + AC_C_CONST + AC_PROG_INSTALL ++AC_PROG_MKDIR_P + + dnl Checks for libraries. + +--- a/Makefile.in ++++ b/Makefile.in +@@ -36,6 +36,7 @@ + MAKEINFO = makeinfo + TEXI2DVI = texi2dvi + TEXI2PDF = texi2pdf ++MKDIR_P = @MKDIR_P@ + LDFLAGS = @LDFLAGS@ + LIBS= @LIBS@ + VPATH = @srcdir@ +@@ -87,7 +88,7 @@ + + units_cur: units_cur2 units_cur3 + @if test $(HAVE_PYTHON) = no; then \ +- make units_cur_dummy; \ ++ $(MAKE) units_cur_dummy; \ + else \ + version=`$(PYTHON) --version 2>&1`; \ + if echo $$version | grep 'Python 2' >/dev/null; then \ +@@ -120,7 +121,7 @@ + units_cur > units_cur_inst + + install-support: definitions.units currency.units units_cur_inst +- $(srcdir)/mkinstalldirs $(DESTDIR)@UDAT@ $(DESTDIR)$(bindir) ++ $(MKDIR_P) $(DESTDIR)@UDAT@ $(DESTDIR)$(bindir) + $(INSTALL_DATA) $(srcdir)/definitions.units $(DESTDIR)@UDAT@definitions.units + $(INSTALL_DATA) $(srcdir)/currency.units $(DESTDIR)@UDAT@currency.units + $(INSTALL_DATA) $(srcdir)/locale_map.txt $(DESTDIR)@UDAT@locale_map.txt +@@ -129,17 +130,17 @@ + + + install: units@EXEEXT@ install-doc install-support +- $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) ++ $(MKDIR_P) $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) units@EXEEXT@ $(DESTDIR)$(bindir)/`echo units@EXEEXT@|sed '$(transform)'` + + install-strip: units@EXEEXT@ install-doc install-support +- $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) ++ $(MKDIR_P) $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) -s units@EXEEXT@ $(DESTDIR)$(bindir)/`echo units@EXEEXT@|sed '$(transform)'` + + install-doc: install-man install-info + + install-man: units.1 +- $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1 ++ $(MKDIR_P) $(DESTDIR)$(mandir)/man1 + $(INSTALL_DATA) units.1 $(DESTDIR)$(mandir)/man1/`echo units|sed '$(transform)'`.1 + + units.man: units.texinfo texi2man +@@ -152,7 +153,7 @@ + + $(DESTDIR)$(infodir)/units.info: units.info + $(POST_INSTALL) +- $(srcdir)/mkinstalldirs $(DESTDIR)$(infodir) ++ $(MKDIR_P) $(DESTDIR)$(infodir) + # There may be a newer info file in . than in srcdir. + -if test -f units.info; then d=.; \ + else d=$(srcdir); fi; \ |