diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2005-09-24 02:09:41 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2005-09-24 02:09:41 +0000 |
commit | b7d3653ce2f82fc8752b1d610f8def8250e94ca4 (patch) | |
tree | 17bc7a37abe6cf3d7379e203be92ba41210776ca /cad/magic/patches | |
parent | 56f4fe8c2c43799ad261e1d07c8cbeb8ccd9c808 (diff) | |
download | pkgsrc-b7d3653ce2f82fc8752b1d610f8def8250e94ca4.tar.gz |
repair compilation on netbsd/alpha (and probably others too)
Diffstat (limited to 'cad/magic/patches')
-rw-r--r-- | cad/magic/patches/patch-ab | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cad/magic/patches/patch-ab b/cad/magic/patches/patch-ab index 5e9ca5bfedc..de69fddc7e3 100644 --- a/cad/magic/patches/patch-ab +++ b/cad/magic/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.4 2005/09/22 15:28:35 minskim Exp $ +$NetBSD: patch-ab,v 1.5 2005/09/24 02:09:42 dmcmahill Exp $ --- scripts/config.orig 2005-09-22 08:13:16.000000000 -0700 +++ scripts/config @@ -16,9 +16,9 @@ $NetBSD: patch-ab,v 1.4 2005/09/22 15:28:35 minskim Exp $ case "2": echo "NetBSD 1.x selected" - set cpp = "/usr/libexec/cpp -P -traditional" -+ if (-f /usr/libexec/cpp) then ++ if (-f xx/usr/libexec/cpp) then + set cpp = "/usr/libexec/cpp -P -traditional" -+ else if (-f /usr/libexec/cpp0) then ++ else if (-f xx/usr/libexec/cpp0) then + set cpp = "/usr/libexec/cpp0 -P -traditional" + else + set cpp = "cc -E -traditional" |