vp-build/templates/bzip2-fix-install.diff
Juan RP 6a22274980 Added bzip2-1.0.5 template.
--HG--
extra : convert_revision : a95f241b33ba9592d2a82301c2ab9555d8063126
2008-10-23 02:41:51 +02:00

21 lines
881 B
Diff

--- Makefile.orig 2008-10-23 01:37:56.000000000 +0200
+++ Makefile 2008-10-23 01:39:30.000000000 +0200
@@ -90,14 +90,13 @@ install: bzip2 bzip2recover
cp -f libbz2.a $(PREFIX)/lib
chmod a+r $(PREFIX)/lib/libbz2.a
cp -f bzgrep $(PREFIX)/bin/bzgrep
- ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
- ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
+ cd $(PREFIX)/bin && ln -s bzgrep bzegrep && ln -s bzgrep bzfgrep
chmod a+x $(PREFIX)/bin/bzgrep
cp -f bzmore $(PREFIX)/bin/bzmore
- ln -s -f $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless
+ cd $(PREFIX)/bin && ln -s bzmore bzless
chmod a+x $(PREFIX)/bin/bzmore
cp -f bzdiff $(PREFIX)/bin/bzdiff
- ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
+ cd $(PREFIX)/bin && ln -s bzdiff bzcmp
chmod a+x $(PREFIX)/bin/bzdiff
cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
chmod a+r $(PREFIX)/man/man1/bzgrep.1