[cpl-plugin-vimos] 01/01: Make the "pil" library private since it should only be used by this pipeline
Ole Streicher
olebole-guest at alioth.debian.org
Thu Nov 7 08:28:02 UTC 2013
This is an automated email from the git hooks/post-receive script.
olebole-guest pushed a commit to branch debian
in repository cpl-plugin-vimos.
commit 65dbbcb2ab1fae2ae9f5705e76b5014c341d6766
Author: Ole Streicher <debian at liska.ath.cx>
Date: Thu Nov 7 09:27:42 2013 +0100
Make the "pil" library private since it should only be used by this pipeline
---
debian/patches/private_libpil.patch | 34 ++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 35 insertions(+)
diff --git a/debian/patches/private_libpil.patch b/debian/patches/private_libpil.patch
new file mode 100644
index 0000000..5e6eadd
--- /dev/null
+++ b/debian/patches/private_libpil.patch
@@ -0,0 +1,34 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Make the "pil" library private since it should only be used
+ by this pipeline.
+--- a/libpil/pil/Makefile.am
++++ b/libpil/pil/Makefile.am
+@@ -43,7 +43,7 @@
+
+ noinst_HEADERS = md5.h #xmemory.h
+
+-lib_LTLIBRARIES = libpil.la
++privatelib_LTLIBRARIES = libpil.la
+
+ libpil_la_SOURCES = pilalias.c pilastroutils.c pilcatmap.c pilcdb.c \
+ pildate.c pildfsconfig.c pildictionary.c pilerrno.c pilfileutils.c \
+--- a/libpil/acinclude.m4
++++ b/libpil/acinclude.m4
+@@ -105,6 +105,10 @@
+ AC_DEFUN([LIBPIL_SET_PATHS],
+ [
+
++ if test -z "$privatelibdir"; then
++ privatelibdir='${libdir}/${PACKAGE}-${VERSION}'
++ fi
++
+ if test x"$includedir" = x'${prefix}/include'; then
+ includedir='${prefix}/include/pil'
+ fi
+@@ -119,5 +123,6 @@
+
+ AC_SUBST(configdir)
+ AC_SUBST(htmldir)
++ AC_SUBST(privatelibdir)
+
+ ])
diff --git a/debian/patches/series b/debian/patches/series
index 39ff0f9..6fa09f7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ libadd_cpl.patch
set_plugindir.patch
use-std-paths-for-cpl.patch
fix_compiler_errors.patch
+private_libpil.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cpl-plugin-vimos.git
More information about the debian-science-commits
mailing list