pkgsrc/x11/xworld/patches/patch-ag
dholland 4d183607f3 Fix pkglint. Add patch comments. Do configuration SUBSTs at pre-configure
time, not post-patch, to reduce the chances of the results being rolled
unconditionally into patches.
2012-07-30 04:23:23 +00:00

15 lines
474 B
Text

$NetBSD: patch-ag,v 1.2 2012/07/30 04:23:23 dholland Exp $
Cope with spaces in uname output.
--- configure.orig 1999-07-28 11:21:59.000000000 -0500
+++ configure
@@ -2,7 +2,7 @@
set OS=`uname`
set ARCH=`uname -m`
if ($OS == "SunOS") set OS="Solaris"
-if ($OS == "OSF1" && $ARCH == "alpha") set OS="DigitalUnix"
+if ($OS == "OSF1" && "$ARCH" == "alpha") set OS="DigitalUnix"
set OSVERS=`uname -r`
echo Configuring for $OS $OSVERS $ARCH
set setcsh0="defaults/set.csh"