openbsd-ports/x11/gnome/controlcenter2/patches/patch-configure
2010-09-30 07:33:38 +00:00

42 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.13 2010/09/30 07:33:38 ajacoutot Exp $
XCURSOR_ICONDIR is set in CONFIGURE_ENV.
We do not use the default ${X11BASE}/share/icons because ports (e.g.
xcursor-themes) install cursor themes under ${LOCALBASE}/lib/X11/icons
--- configure.orig Mon Sep 27 15:30:08 2010
+++ configure Wed Sep 29 13:43:56 2010
@@ -14446,7 +14446,7 @@ if test "x$ac_cv_header_X11_extensions_xf86misc_h" = x
cat >>confdefs.h <<_ACEOF
#define HAVE_X11_EXTENSIONS_XF86MISC_H 1
_ACEOF
- XF86MISC_LIBS="-lXxf86misc"
+ XF86MISC_LIBS="-lXxf86misc -lXext"
fi
done
@@ -16164,23 +16164,6 @@ fi
-
-if test x$have_xcursor = xyes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCURSOR cursor location" >&5
-$as_echo_n "checking for XCURSOR cursor location... " >&6; }
- XCURSOR_ICONDIR=$($PKG_CONFIG --variable=icondir xcursor)
- if test "x$XCURSOR_ICONDIR" != x; then
-
-cat >>confdefs.h <<_ACEOF
-#define XCURSOR_ICONDIR "${XCURSOR_ICONDIR}"
-_ACEOF
-
- else
- XCURSOR_ICONDIR=none
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${XCURSOR_ICONDIR}" >&5
-$as_echo "${XCURSOR_ICONDIR}" >&6; }
-fi
CAPPLET_LIBS="$CAPPLET_LIBS $XCURSOR_LIBS"