[GiNaC-devel] [PATCH] ginac.pc: fix library dependency info

Alexei Sheplyakov varg at theor.jinr.ru
Thu Mar 22 11:55:37 CET 2007


Instead of hard-coding incorrect dependences, let pkg-config do its job.
See 
<http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html>,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412103>
for more details.

---
 ginac.pc.in |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/ginac.pc.in b/ginac.pc.in
index 47aeacc..bb1e0e6 100644
--- a/ginac.pc.in
+++ b/ginac.pc.in
@@ -6,9 +6,6 @@ includedir=@includedir@
 Name: GiNaC
 Description: C++ library for symbolic calculations
 Version: @VERSION@
-# uncomment this when a pkg-config'd cln exists
-# CAUTION: this will merge in the cln libs and cflags which are already in
-#          GINACLIB_LIBS and GINACLIB_CPPFLAGS
-#Requires: cln >= 1.1.0
-Libs: -L${libdir} -lginac @GINACLIB_LIBS@
-Cflags: -I${includedir} @GINACLIB_CPPFLAGS@
+Requires: cln >= 1.1.13
+Libs: -L${libdir} -lginac
+Cflags: -I${includedir}
-- 
1.4.4.4

-- 
All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-devel/attachments/20070322/a0cb5213/attachment.pgp


More information about the GiNaC-devel mailing list