Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Fix Perl installdir
· 645ffe75
Andreas Tille
authored
May 14, 2018
645ffe75
Point Vcs fields to salsa.debian.org
· 387c771d
Andreas Tille
authored
May 14, 2018
387c771d
Standards-Version: 4.1.4
· 8e1a6aae
Andreas Tille
authored
May 14, 2018
8e1a6aae
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
8e1a6aae
libsbml (5.16.0+dfsg-3) UNRELEASED; urgency=medium
[ gregor herrmann ]
* Fix Perl installdir
Closes: #896531
[ Andreas Tille ]
* Point Vcs fields to salsa.debian.org
* Standards-Version: 4.1.4
-- Andreas Tille <tille@debian.org> Mon, 14 May 2018 10:55:58 +0200
libsbml (5.16.0+dfsg-2) unstable; urgency=medium
* Work around javadoc issue with Java 9
...
...
debian/control
View file @
8e1a6aae
...
...
@@ -26,9 +26,9 @@ Build-Depends: autoconf,
cli-common-dev,
mono-runtime-common,
texlive-latex-base
Standards-Version: 4.1.
3
Vcs-Browser: https://
anonscm
.debian.org/
cgit/debian-med
/libsbml
.git
Vcs-Git: https://
anonscm
.debian.org/
git/debian-med
/libsbml.git
Standards-Version: 4.1.
4
Vcs-Browser: https://
salsa
.debian.org/
med-team
/libsbml
Vcs-Git: https://
salsa
.debian.org/
med-team
/libsbml.git
Homepage: http://www.sbml.org/
Package: libsbml5-dev
...
...
debian/patches/perl-installdirs.patch
View file @
8e1a6aae
Author: gregor herrmann <gregoa@debian.org>
Last-Update:
Mon, 25 Aug
201
4
1
4:16:04
+0200
Last-Update:
Tue, 01 May
201
8
1
9:03:21
+0200
Description: Install Perl modules in correct dir
--- a/src/bindings/perl/Makefile.PL.in
...
...
@@ -14,11 +14,12 @@ Description: Install Perl modules in correct dir
CC => "@CXX@",
--- a/src/bindings/perl/CMakeLists.txt
+++ b/src/bindings/perl/CMakeLists.txt
@@ -232,
7
+232,1
3
@@
Could not determine Perl version, please
@@ -232,
8
+232,1
4
@@
Could not determine Perl version, please
string(REPLACE "'" "" PERL_PLATFORM ${PERL_PLATFORM})
string(REPLACE ";" "" PERL_PLATFORM ${PERL_PLATFORM})
string(REPLACE "archname=" "" PERL_PLATFORM ${PERL_PLATFORM})
- set(PERL_PACKAGE_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/perl5/site_perl/${PERL_VERSION}/${PERL_PLATFORM})
- set(PERL_PACKAGE_INSTALL_BIN_DIR ${PERL_PACKAGE_INSTALL_DIR}/auto/libSBML)
+ execute_process(COMMAND "${PERL_EXECUTABLE}" -V:vendorarch
+ OUTPUT_VARIABLE PERL_VENDORARCH OUTPUT_STRIP_TRAILING_WHITESPACE)
+ string(REPLACE " " "" PERL_VENDORARCH ${PERL_VENDORARCH})
...
...
@@ -26,6 +27,7 @@ Description: Install Perl modules in correct dir
+ string(REPLACE ";" "" PERL_VENDORARCH ${PERL_VENDORARCH})
+ string(REPLACE "vendorarch=/usr/lib/" "" PERL_VENDORARCH ${PERL_VENDORARCH})
+ set(PERL_PACKAGE_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/${PERL_VENDORARCH})
set(PERL_PACKAGE_INSTALL_BIN_DIR ${PERL_PACKAGE_INSTALL_DIR}/auto/
l
ibSBML)
+
set(PERL_PACKAGE_INSTALL_BIN_DIR ${PERL_PACKAGE_INSTALL_DIR}/auto/
L
ibSBML)
else()
set(PERL_PACKAGE_INSTALL_DIR ${MISC_PREFIX}bindings/perl)
set(PERL_PACKAGE_INSTALL_BIN_DIR ${PERL_PACKAGE_INSTALL_DIR})