[libdbd-firebird-perl] 03/04: rules export FIREBIRD_{HOME, INCLUDE, LIB} to belp Makefile.PL find Firebird

Damyan Ivanov dmn at moszumanska.debian.org
Wed Oct 4 20:44:26 UTC 2017


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

dmn pushed a commit to branch master
in repository libdbd-firebird-perl.

commit 81a6bf734ed02929f3bd3dc131da2ae2f2f1d87a
Author: Damyan Ivanov <dmn at debian.org>
Date:   Wed Oct 4 20:41:46 2017 +0000

    rules export FIREBIRD_{HOME,INCLUDE,LIB} to belp Makefile.PL find Firebird
    
    Otherwise inc/FirebirdMaker.pm uses fb_config to query various directories,
    which results in rpaths to /usr/lib/<triplet>/firebird/3.0/lib or such
    Not really needed, since the libraries are in the system library directory
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index c34643d..730a7b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,10 @@ ifneq (,$(shell for a in $(BAD_ARCH); do dpkg-architecture -e$$a && echo bad$$a;
     export DBD_FIREBIRD_TEST_SKIP_EVENTS_FORK=1
 endif
 
+export FIREBIRD_INCLUDE=/usr/include
+export FIREBIRD_LIB=/usr/lib/$(shell dpkg-architecture -q DEB_BUILD_MULTIARCH)
+export FIREBIRD_HOME=$(FIREBIRD_LIB)
+
 %:
 	dh $@ --with=perl_dbi
 

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



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