openbsd-ports/graphics/gqview/patches/patch-configure

28 lines
807 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.13 2009/05/14 13:39:44 ajacoutot Exp $
--- configure.orig Sat Dec 2 20:41:26 2006
+++ configure Tue May 12 20:22:32 2009
@@ -4570,12 +4570,12 @@ echo "$as_me: error: GTK+ >= 2.4.0 not installed." >&2
2004-10-17 12:05:47 -04:00
2004-02-07 17:00:47 -05:00
cat >>confdefs.h <<_ACEOF
-#define GQVIEW_HELPDIR "$prefix/share/doc/gqview-$VERSION"
+#define GQVIEW_HELPDIR "$prefix/share/doc/gqview"
2004-02-07 17:00:47 -05:00
_ACEOF
cat >>confdefs.h <<_ACEOF
-#define GQVIEW_HTMLDIR "$prefix/share/doc/gqview-$VERSION/html"
+#define GQVIEW_HTMLDIR "$prefix/share/doc/gqview/html"
_ACEOF
@@ -4769,7 +4769,7 @@ if test "${ac_cv_lib_lcms_cmsCreate_sRGBProfile+set}"
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-llcms $LIBS"
+LIBS="-llcms -lm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF