[libinline-java-perl] 01/02: Fix broken symlinks when built under Perl 5.20.

gregor herrmann gregoa at debian.org
Wed Jul 9 17:42:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libinline-java-perl.

commit ca574cfe42127c671187535ffa9c4353af3e00a0
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jul 9 19:37:51 2014 +0200

    Fix broken symlinks when built under Perl 5.20.
    
    Since the vendorarch path differs, we can't use a fixed length for relative
    links.
    
    Closes: #753057
---
 debian/rules | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 698b5bb..716bf93 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,5 @@ binary-post-install/$(pkg)::
 	mkdir -p $(cdbs_curdestdir)/usr/share/$(pkg)
 	mv -t $(cdbs_curdestdir)/usr/share/$(pkg) \
 		$(cdbs_curdestdir)$(perlpath)/Inline/Java/*.jar
-	ln -st $(cdbs_curdestdir)$(perlpath)/Inline/Java \
-		../../../../share/$(pkg)/InlineJavaServer.jar \
-		../../../../share/$(pkg)/InlineJavaUser.jar
+	dh_link usr/share/$(pkg)/InlineJavaServer.jar $(perlpath)/Inline/Java/InlineJavaServer.jar \
+		usr/share/$(pkg)/InlineJavaUser.jar $(perlpath)/Inline/Java/InlineJavaUser.jar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git



More information about the Pkg-perl-cvs-commits mailing list