[Pkg-mysql-commits] [mariadb-5.5] 01/01: Fix for non-versioned symbols in kFreeBSD

Otto Kekäläinen ottok-guest at moszumanska.debian.org
Fri Aug 29 20:37:12 UTC 2014


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

ottok-guest pushed a commit to branch master
in repository mariadb-5.5.

commit a55f1fd5d7fa5288a904f86a2e1ce5c986634ffd
Author: Otto Kekäläinen <otto.kekalainen at seravo.fi>
Date:   Fri Aug 29 23:20:36 2014 +0300

    Fix for non-versioned symbols in kFreeBSD
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3380130..a936a70 100755
--- a/debian/rules
+++ b/debian/rules
@@ -92,6 +92,13 @@ override_dh_auto_configure:
 	@echo "RULES.$@"
 	dh_testdir
 	
+	# Versioned symbols are only available on Linux.
+	# Remove symbols file on kFreeBSD builds so that
+	# dpkg-gensymbols will not fail the build.
+ifneq (,$(filter $(ARCH), kfreebsd-i386 kfreebsd-amd64))
+	rm debian/libmariadbclient18.symbols
+endif
+	
 	# Rename shared libraries SONAME and filenames
 	# libmysqlclient18.so > libmariadbclient18.so etc
 	sed -i 's/mysqlclient/mariadbclient/g' client/CMakeLists.txt tests/CMakeLists.txt scripts/CMakeLists.txt

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-mysql/mariadb-5.5.git



More information about the Pkg-mysql-commits mailing list