diff options
author | danw <danw@pkgsrc.org> | 2004-08-31 03:10:16 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2004-08-31 03:10:16 +0000 |
commit | f5915880acced83fb076e4305f53008ea5b89155 (patch) | |
tree | ede4ffeb1e4e1a05b789b6ff481df44b8d568019 /x11/openmotif/patches | |
parent | cbe9744cbb5767ee1cf64409f4f9b456fee910fd (diff) | |
download | pkgsrc-f5915880acced83fb076e4305f53008ea5b89155.tar.gz |
fix up the darwin config files to deal with something that changed in
buildlink at some point
Diffstat (limited to 'x11/openmotif/patches')
-rw-r--r-- | x11/openmotif/patches/patch-aw | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/openmotif/patches/patch-aw b/x11/openmotif/patches/patch-aw index 8d7a111f00e..9d253844bcc 100644 --- a/x11/openmotif/patches/patch-aw +++ b/x11/openmotif/patches/patch-aw @@ -1,4 +1,4 @@ -$NetBSD: patch-aw,v 1.1 2004/03/16 23:59:42 danw Exp $ +$NetBSD: patch-aw,v 1.2 2004/08/31 03:10:16 danw Exp $ --- config/cf/darwin.cf.orig Sun Mar 14 11:07:29 2004 +++ config/cf/darwin.cf @@ -78,7 +78,7 @@ $NetBSD: patch-aw,v 1.1 2004/03/16 23:59:42 danw Exp $ +#define MkdirHierCmd mkdir -p + +/* our cpp isn't in /lib/cpp and early versions don't like -undef */ -+#define CppCmd /usr/bin/cpp ++#define CppCmd cpp +#if HasGcc3 +# define RawCppCmd CppCmd -undef +#else @@ -87,10 +87,10 @@ $NetBSD: patch-aw,v 1.1 2004/03/16 23:59:42 danw Exp $ + +/* we have a gcc compatible compiler, but its not called gcc */ +#ifndef CcCmd -+#define CcCmd /usr/bin/cc ++#define CcCmd cc +#endif +#ifndef CplusplusCmd -+#define CplusplusCmd /usr/bin/c++ ++#define CplusplusCmd c++ +#endif + +/* default flags to pass to cc */ |