pkgsrc-ng/math/pari/patches/patch-config_get__X11
2016-11-18 22:39:22 +01:00

29 lines
897 B
Plaintext

$NetBSD: patch-config_get__X11,v 1.1 2016/03/03 13:28:22 wiz Exp $
--- config/get_X11.orig 2014-03-25 08:59:21.000000000 +0000
+++ config/get_X11
@@ -10,21 +10,8 @@ cd ..; rm -rf $tdir
# Check xmkmf answer
# X11 -- Headers
if test ! -f $Xincroot/X11/Xos.h; then
- x11pth="$addlib64\
- /usr/openwin/share/lib\
- /usr/openwin/lib\
- /usr/X11R6/lib /usr/X11R5/lib /usr/X11R4/lib\
- /usr/lib/X11R6 /usr/lib/X11R5 /usr/lib/X11R4\
- /usr/local/X11R6/lib /usr/local/X11R5/lib /usr/local/X11R4/lib\
- /usr/local/lib/X11R6 /usr/local/lib/X11R5 /usr/local/lib/X11R4\
- /usr/X11/lib\
- /usr/lib/X11\
- /usr/local/X11/lib\
- /usr/local/lib/X11\
- /usr/XFree86/lib/X11\
- /usr/lib\
- /usr/local/lib\
- /usr/athena/lib\
+ x11pth="\
+ $X11BASE/lib\
";
pth=`echo $x11pth | sed 's,/lib,/include,g'`
x=`./locate X11/Xos.h '' $pth`