pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/libgnomeprint Fix broken "configure" script:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46cbac484560
branches:  trunk
changeset: 527626:46cbac484560
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Apr 11 16:22:14 2007 +0000

description:
Fix broken "configure" script:
It skips the check for the math library on Darwin because the math
functions are included in the system library. It however later aborts
because it didn't find a math library.

Work arround this by not skipping the math library check on Darwin.
The "configure" scripts now finds "/usr/lib/libm.dylib" which is
a symlink to the system library.

diffstat:

 print/libgnomeprint/distinfo         |   3 ++-
 print/libgnomeprint/patches/patch-ac |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 0e43abdd94cc -r 46cbac484560 print/libgnomeprint/distinfo
--- a/print/libgnomeprint/distinfo      Wed Apr 11 15:39:52 2007 +0000
+++ b/print/libgnomeprint/distinfo      Wed Apr 11 16:22:14 2007 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.22 2007/04/10 18:56:12 drochner Exp $
+$NetBSD: distinfo,v 1.23 2007/04/11 16:22:14 tron Exp $
 
 SHA1 (libgnomeprint-2.18.0.tar.bz2) = 601eac4347515e285aee79bc0962d50ab0b27d4b
 RMD160 (libgnomeprint-2.18.0.tar.bz2) = 145a6854e334893ce0f74f08b61edb746a018f73
 Size (libgnomeprint-2.18.0.tar.bz2) = 830629 bytes
 SHA1 (patch-aa) = 73dffa07cb1218b41784563dc822c08b3455fd59
 SHA1 (patch-ab) = 04499f4ce10315b894d85228588c24e9576f4df3
+SHA1 (patch-ac) = 907b2ec2c194ae10d7fe7eea6e2e52a128b5ca14
diff -r 0e43abdd94cc -r 46cbac484560 print/libgnomeprint/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/libgnomeprint/patches/patch-ac      Wed Apr 11 16:22:14 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2007/04/11 16:22:14 tron Exp $
+
+--- configure.orig     2007-03-12 15:39:26.000000000 +0000
++++ configure  2007-04-11 17:05:51.000000000 +0100
+@@ -23712,7 +23712,7 @@
+ 
+ LIBM=
+ case $host in
+-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
++*-*-beos* | *-*-cygwin* | *-*-pw32*)
+   # These system don't have libm, or don't need it
+   ;;
+ *-ncr-sysv4.3*)



Home | Main Index | Thread Index | Old Index