]> git.pld-linux.org Git - packages/bc.git/commitdiff
- allow using 'make DESTDIR=... install'
authorArtur Frysiak <artur@frysiak.net>
Tue, 1 Jun 1999 08:29:05 +0000 (08:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bc-DESTDIR.patch -> 1.1

bc-DESTDIR.patch [new file with mode: 0644]

diff --git a/bc-DESTDIR.patch b/bc-DESTDIR.patch
new file mode 100644 (file)
index 0000000..0d8f998
--- /dev/null
@@ -0,0 +1,18 @@
+diff -ur bc-1.05.old/bc/Makefile.am bc-1.05/bc/Makefile.am
+--- bc-1.05.old/bc/Makefile.am Sun Mar 29 07:40:52 1998
++++ bc-1.05/bc/Makefile.am     Tue Jun  1 10:53:54 1999
+@@ -30,10 +30,10 @@
+ install-data-local:
+       if grep -s "define BC_MATH_FILE" ../config.h; \
+-        then $(mkinstalldirs) $(libdir); \
+-        rm -f $(libdir)/libmath.b; \
+-        $(INSTALL_DATA) $(srcdir)/libmath.b $(libdir); \
+-        chmod 444 $(libdir)/libmath.b; \
++        then $(mkinstalldirs) $(DESTDIR)$(libdir); \
++        rm -f $(DESTDIR)$(libdir)/libmath.b; \
++        $(INSTALL_DATA) $(srcdir)/libmath.b $(DESTDIR)$(libdir); \
++        chmod 444 $(DESTDIR)$(libdir)/libmath.b; \
+         else true; \
+       fi
This page took 0.051016 seconds and 4 git commands to generate.