Bug#740074: root-system: Change in build dependency libiodbc2-dev
Source: root-system
Severity: important
Tags: patch
Hi,
Following a mail I've sent half a year ago, I'm now about to push iodbc into
unstable, as root-system can use either unixodbc or libiodbc2, I would recommed
to use unixodbc, which is frankly better maintained.
That can be accomplished by removing the "libiodbc-dev | " in the
Build-Depends: control field (and also updating the script
./debian/script/makebuilddepend.sh).
I case you prefer to keep using iodbc. Adding the two variable in the rules
file:
ODBCINCDIR = $(PREFIX)/include/iodbc
ODBCLIBDIR = $(PREFIX)/lib/$(DEB_HOST_MULTIARCH)
export ODBCINCDIR ODBCLIBDIR
Would do the trick.
Thanks,
diff -ru root-system-5.34.07.orig/debian/rules root-system-5.34.07/debian/rules
--- root-system-5.34.07.orig/debian/rules 2013-06-08 17:31:39.434852477 +0200
+++ root-system-5.34.07/debian/rules 2013-06-08 17:31:48.934422621 +0200
@@ -55,6 +55,11 @@
CINTDIR = $(PREFIX)/lib/$(DEB_HOST_MULTIARCH)/root$(SOVERS)
ICONTHEME = $(PREFIX)/share/icons/hicolor/48x48
+ODBCINCDIR = $(PREFIX)/include/iodbc
+ODBCLIBDIR = $(PREFIX)/lib/$(DEB_HOST_MULTIARCH)
+
+export ODBCINCDIR ODBCLIBDIR
+
CONFOPTIONS :=--enable-bonjour \
--enable-cintex \
--enable-editline \
Reply to: