[pynac] 03/06: Added a patch to find singular libs
Julien Puydt
julien.puydt at laposte.net
Sun Jan 8 15:24:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository pynac.
commit a02ed03f426b785a1d6f9d74da2c6e76b98c7718
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Sun Jan 8 14:20:01 2017 +0100
Added a patch to find singular libs
---
debian/changelog | 1 +
debian/patches/find_singular.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index bea7387..ae3ad62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ pynac (0.7.3-1) UNRELEASED; urgency=medium
* Added build-dep on flint.
* Bumped soname version up to 8.
* Added libsingular4-dev as build-dep.
+ * Added a patch to find the singular libs.
-- Julien Puydt <julien.puydt at laposte.net> Sun, 08 Jan 2017 11:44:01 +0100
diff --git a/debian/patches/find_singular.patch b/debian/patches/find_singular.patch
new file mode 100644
index 0000000..1142824
--- /dev/null
+++ b/debian/patches/find_singular.patch
@@ -0,0 +1,15 @@
+Description: Correctly detect singular's factory as packaged in Debian
+Author: Julien Puydt
+Forwarded: no
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -154,7 +154,7 @@
+ PKG_PROG_PKG_CONFIG
+
+ dnl Find Singular's factory header and library with pkg-config
+-PKG_CHECK_MODULES([FACTORY], [factory],[
++PKG_CHECK_MODULES([FACTORY], [singular-factory],[
+ AC_SUBST(FACTORY_CFLAGS)
+ AC_SUBST(FACTORY_LIBS)],
+ [AC_MSG_ERROR([This package needs libfactory])])
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..89d54fa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+find_singular.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pynac.git
More information about the debian-science-commits
mailing list