summaryrefslogtreecommitdiff
path: root/community/units/build-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/units/build-fix.patch')
-rw-r--r--community/units/build-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/units/build-fix.patch b/community/units/build-fix.patch
new file mode 100644
index 000000000..219c16b85
--- /dev/null
+++ b/community/units/build-fix.patch
@@ -0,0 +1,18 @@
+diff -wbBur units-2.00.org/Makefile.in units-2.00/Makefile.in
+--- units-2.00.org/Makefile.in 2012-05-03 00:37:55.000000000 +0400
++++ units-2.00/Makefile.in 2012-07-01 22:44:37.000000000 +0400
+@@ -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