]> git.pld-linux.org Git - packages/bc.git/blame - bc-DESTDIR.patch
- allow using 'make DESTDIR=... install'
[packages/bc.git] / bc-DESTDIR.patch
CommitLineData
d7f0509d
AF
1diff -ur bc-1.05.old/bc/Makefile.am bc-1.05/bc/Makefile.am
2--- bc-1.05.old/bc/Makefile.am Sun Mar 29 07:40:52 1998
3+++ bc-1.05/bc/Makefile.am Tue Jun 1 10:53:54 1999
4@@ -30,10 +30,10 @@
5
6 install-data-local:
7 if grep -s "define BC_MATH_FILE" ../config.h; \
8- then $(mkinstalldirs) $(libdir); \
9- rm -f $(libdir)/libmath.b; \
10- $(INSTALL_DATA) $(srcdir)/libmath.b $(libdir); \
11- chmod 444 $(libdir)/libmath.b; \
12+ then $(mkinstalldirs) $(DESTDIR)$(libdir); \
13+ rm -f $(DESTDIR)$(libdir)/libmath.b; \
14+ $(INSTALL_DATA) $(srcdir)/libmath.b $(DESTDIR)$(libdir); \
15+ chmod 444 $(DESTDIR)$(libdir)/libmath.b; \
16 else true; \
17 fi
18
This page took 0.028945 seconds and 4 git commands to generate.