pkgsrc/x11/Xrandr-mixedcase/patches/patch-aa
recht 150f855db4 Modify the patch that it more behaves like the original package, eg.
picks up the freedesktop.org pkgconfig files / libs up, before using
XFree86's versions.
2003-12-04 18:57:45 +00:00

17 lines
870 B
Text

$NetBSD: patch-aa,v 1.2 2003/12/04 18:57:45 recht Exp $
--- configure.orig 2003-12-04 18:33:43.000000000 +0100
+++ configure
@@ -19967,9 +19967,9 @@ echo "${ECHO_T}$RANDR_LIBS" >&6
if test $succeeded = yes; then
:
else
- { { echo "$as_me:$LINENO: error: Library requirements (randr >= $RANDR_VERSION xext xrender) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
-echo "$as_me: error: Library requirements (randr >= $RANDR_VERSION xext xrender) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
- { (exit 1); exit 1; }; }
+ RANDR_CFLAGS="$CFLAGS"
+ RANDR_LIBS="$LDFLAGS"
+ X_LIBS="-lXrender -lXext $X_LIBS"
fi