pkgsrc/x11/xpmroot/patches/patch-configure
2012-07-30 03:59:06 +00:00

15 lines
468 B
Text

$NetBSD: patch-configure,v 1.2 2012/07/30 03:59:06 dholland Exp $
- configure script needs libX11, not just libXt.
--- configure.orig 2012-02-19 15:57:14.638423000 +0000
+++ configure
@@ -4744,7 +4744,7 @@ if test "$ac_x_libraries" = no; then
# See if we find them without any special options.
# Don't add to $LIBS permanently.
ac_save_LIBS=$LIBS
- LIBS="-lXt $LIBS"
+ LIBS="-lXt -lX11 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF