pkgsrc/graphics/xpaint/patches/patch-ad
adam 15d5ee526d Changes 2.7.8.1:
* minor bugfixes (zoomed windows are now correctly initialized)

Pkgsrc:
* now installs correctly (not to /usr/X11R6)
2006-01-06 22:36:19 +00:00

22 lines
686 B
Text

$NetBSD: patch-ad,v 1.9 2006/01/06 22:36:19 adam Exp $
--- configure.orig 2005-06-03 12:26:11.000000000 +0000
+++ configure
@@ -7,7 +7,7 @@ if test "$1" = "" ; then
echo "(looking for Xaw, Xaw3d, Xaw95, neXtaw)"
echo ""
else
- WIDGETS=`echo $1 | tr [a:z] [A:Z]`
+ WIDGETS=`echo $1 | tr [a-z] [A-Z]`
fi
if test "$WIDGETS" = "" ; then
@@ -55,7 +55,7 @@ if test "$WIDGETS" = "" ; then
fi
if test "$WIDGETS" = "XAW3DG" ; then
- ln -sf /usr/include/X11/Xaw3d xaw_incdir
+ ln -sf @XAWDIR@/include/X11/Xaw3d xaw_incdir
echo "XAWLIB_DEFINES = -DXAW3D -DXAW3DG"
echo "XAWLIB_DEFINES = -DXAW3D -DXAW3DG" > Local.xawdefs
echo "SYS_LIBRARIES = -lXaw3d -L."