summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators/units/files/units-2.00-gentoo.patch')
-rw-r--r--sci-calculators/units/files/units-2.00-gentoo.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-calculators/units/files/units-2.00-gentoo.patch b/sci-calculators/units/files/units-2.00-gentoo.patch
new file mode 100644
index 000000000000..5c30db93ffb0
--- /dev/null
+++ b/sci-calculators/units/files/units-2.00-gentoo.patch
@@ -0,0 +1,17 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -84,10 +84,10 @@
+ sed -e "s:outfile = 'currency.units':outfile='@UDAT@currency.units':" units_cur > units_cur_inst
+
+ install-support: definitions.units currency.units units_cur_inst
+- $(srcdir)/mkinstalldirs @UDAT@ $(DESTDIR)$(bindir)
+- $(INSTALL_DATA) $(srcdir)/definitions.units @UDAT@definitions.units
+- $(INSTALL_DATA) $(srcdir)/currency.units @UDAT@currency.units
+- $(INSTALL_DATA) $(srcdir)/locale.map @UDAT@locale.map
++ $(srcdir)/mkinstalldirs $(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 $(DESTDIR)@UDAT@locale.map
+ $(INSTALL_PROGRAM) units_cur_inst $(DESTDIR)$(bindir)/`echo units_cur|sed '$(transform)'`
+
+ install: units@EXEEXT@ install-doc install-support