From 09ec875ee56d65fecd84d7972965f2629ec4cd91 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 11 Apr 2007 16:22:14 +0000 Subject: 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. --- print/libgnomeprint/distinfo | 3 ++- print/libgnomeprint/patches/patch-ac | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 print/libgnomeprint/patches/patch-ac (limited to 'print') diff --git a/print/libgnomeprint/distinfo b/print/libgnomeprint/distinfo index 9dfd71f14f5..3e50fa63381 100644 --- a/print/libgnomeprint/distinfo +++ b/print/libgnomeprint/distinfo @@ -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 --git a/print/libgnomeprint/patches/patch-ac b/print/libgnomeprint/patches/patch-ac new file mode 100644 index 00000000000..22eeb88abc3 --- /dev/null +++ b/print/libgnomeprint/patches/patch-ac @@ -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*) -- cgit v1.2.3