cvs: fix rcs2log link path. Closes #103

This commit is contained in:
Sergei Reznikov
2015-04-01 19:42:41 +03:00
parent 55fd622c04
commit b13800fe5b
2 changed files with 14 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ LICENSE="GNU GPL v1
GNU LGPL v2" GNU LGPL v2"
SRC_URI="ftp://ftp.ru.debian.org/gentoo-distfiles/distfiles/cvs-1.12.13.1.tar.bz2" SRC_URI="ftp://ftp.ru.debian.org/gentoo-distfiles/distfiles/cvs-1.12.13.1.tar.bz2"
CHECKSUM_SHA256="de7f374d8c4ac414c04e8d44ce9a5d3da919825a6a332d747e299dc7a80c2218" CHECKSUM_SHA256="de7f374d8c4ac414c04e8d44ce9a5d3da919825a6a332d747e299dc7a80c2218"
REVISION="6" REVISION="7"
ARCHITECTURES="x86_gcc2 x86 x86_64" ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="cvs-1.12.13.1.patch" PATCHES="cvs-1.12.13.1.patch"

View File

@@ -224,3 +224,16 @@ diff -up cvs-1.12.13.1/src/wrapper.c.orig cvs-1.12.13.1/src/wrapper.c
/* If we can't find a home directory, ignore ~/.cvswrappers. This may /* If we can't find a home directory, ignore ~/.cvswrappers. This may
make tracking down problems a bit of a pain, but on the other make tracking down problems a bit of a pain, but on the other
hand it might be obnoxious to complain when CVS will function hand it might be obnoxious to complain when CVS will function
diff --git a/contrib/Makefile.in b/contrib/Makefile.in
index ed473e5..fccaa02 100644
--- a/contrib/Makefile.in
+++ b/contrib/Makefile.in
@@ -767,7 +767,7 @@ install-data-local:
echo "test ! -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
echo " && cd $(DESTDIR)$(bindir) && $(LN_S) ../share/$(PACKAGE)/contrib/`echo $$p|sed '$(transform)'` ."; \
(test ! -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'` \
- && cd $(DESTDIR)$(bindir) && $(LN_S) ../share/$(PACKAGE)/contrib/`echo $$p|sed '$(transform)'` .) \
+ && cd $(DESTDIR)$(bindir) && $(LN_S) ${datarootdir}/$(PACKAGE)/contrib/`echo $$p|sed '$(transform)'` .) \
|| (echo "Link creation failed" && if test -f $$p; then \
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \