openbsd-ports/graphics/digikam/patches/patch-configure_in

22 lines
659 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure_in,v 1.4 2008/07/19 11:58:58 espie Exp $
--- configure.in.orig Wed Jul 16 21:05:58 2008
+++ configure.in Sat Jul 19 11:40:08 2008
@@ -176,7 +176,7 @@ then
2008-01-05 16:56:35 -05:00
saved_cflags="$CFLAGS"
saved_ldflags="$LDFLAGS"
saved_libs=$LIBS
- LIBS="$LIBS -llcms"
+ LIBS="$LIBS -llcms -lm"
2008-01-05 16:56:35 -05:00
CFLAGS="$CFLAGS $all_includes"
LDFLAGS="$LDFLAGS $all_libraries"
AC_TRY_LINK([
@@ -188,7 +188,7 @@ choke!
], [
cmsOpenProfileFromFile("foo", "r");
],
- [LCMS_LIBS='-llcms'; have_lcms='yes'])
+ [LCMS_LIBS='-llcms -lm'; have_lcms='yes'])
LIBS=$saved_libs
2008-01-05 16:56:35 -05:00
CFLAGS=$saved_cflags
LDFLAGS=$saved_ldflags