Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Apr 2010 13:02:17 +0300
From:      Aldis Berjoza <aldis@bsdroot.lv>
To:        <x11@FreeBSD.org>
Subject:   x11/xcursorgen won't build << patch
Message-ID:  <fda514edebf8176af6ce732d3df01191@bsdroot.lv>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I attacked patch for configure script.
This seams to fix the problem


Aldis Berjoza
-- 
BSDroot.lv --> coming soon
[-- Attachment #2 --]
--- configure.bak	2010-04-09 12:57:22.369227780 +0300
+++ configure	2010-04-09 12:58:27.454069009 +0300
@@ -5043,12 +5043,12 @@
     pkg_cv_XCURSORGEN_CFLAGS="$XCURSORGEN_CFLAGS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xcursor libpng12\"") >&5
-  ($PKG_CONFIG --exists --print-errors "x11 xcursor libpng12") 2>&5
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xcursor libpng14\"") >&5
+  ($PKG_CONFIG --exists --print-errors "x11 xcursor libpng14") 2>&5
   ac_status=$?
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_XCURSORGEN_CFLAGS=`$PKG_CONFIG --cflags "x11 xcursor libpng12" 2>/dev/null`
+  pkg_cv_XCURSORGEN_CFLAGS=`$PKG_CONFIG --cflags "x11 xcursor libpng14" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -5059,12 +5059,12 @@
     pkg_cv_XCURSORGEN_LIBS="$XCURSORGEN_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xcursor libpng12\"") >&5
-  ($PKG_CONFIG --exists --print-errors "x11 xcursor libpng12") 2>&5
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xcursor libpng14\"") >&5
+  ($PKG_CONFIG --exists --print-errors "x11 xcursor libpng14") 2>&5
   ac_status=$?
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_XCURSORGEN_LIBS=`$PKG_CONFIG --libs "x11 xcursor libpng12" 2>/dev/null`
+  pkg_cv_XCURSORGEN_LIBS=`$PKG_CONFIG --libs "x11 xcursor libpng14" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -5082,14 +5082,14 @@
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-	        XCURSORGEN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xcursor libpng12" 2>&1`
+	        XCURSORGEN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xcursor libpng14" 2>&1`
         else
-	        XCURSORGEN_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xcursor libpng12" 2>&1`
+	        XCURSORGEN_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xcursor libpng14" 2>&1`
         fi
 	# Put the nasty error message in config.log where it belongs
 	echo "$XCURSORGEN_PKG_ERRORS" >&5
 
-	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xcursor libpng12) were not met:
+	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xcursor libpng14) were not met:
 
 $XCURSORGEN_PKG_ERRORS
 
@@ -5100,7 +5100,7 @@
 and XCURSORGEN_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 " >&5
-$as_echo "$as_me: error: Package requirements (x11 xcursor libpng12) were not met:
+$as_echo "$as_me: error: Package requirements (x11 xcursor libpng14) were not met:
 
 $XCURSORGEN_PKG_ERRORS
 

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fda514edebf8176af6ce732d3df01191>