diff options
author | kleink <kleink@pkgsrc.org> | 2000-03-05 19:12:44 +0000 |
---|---|---|
committer | kleink <kleink@pkgsrc.org> | 2000-03-05 19:12:44 +0000 |
commit | 667cc639d99d34c3fd43e60340629215faa4a026 (patch) | |
tree | b571b4e2f7fc30ddf330b54a688d72f9c9d76403 | |
parent | 934b5f0b80dcf4e19b1f0603711495c1e2655b0a (diff) | |
download | pkgsrc-667cc639d99d34c3fd43e60340629215faa4a026.tar.gz |
Always test for -D__architecture__ rather than -Darchitecture; newer toolchains
(i.e. ELF on former a.out ports) are namespace-clean wrt. this, and the latter
predefine implies the former.
-rw-r--r-- | databases/postgresql/patches/patch-ao | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/postgresql/patches/patch-ao b/databases/postgresql/patches/patch-ao new file mode 100644 index 00000000000..f561b80a4a7 --- /dev/null +++ b/databases/postgresql/patches/patch-ao @@ -0,0 +1,24 @@ +$NetBSD: patch-ao,v 1.1 2000/03/05 19:12:44 kleink Exp $ + +--- include/port/bsd.h.orig Tue May 25 18:14:29 1999 ++++ include/port/bsd.h Sun Mar 5 16:54:42 2000 +@@ -1,16 +1,16 @@ + #define USE_POSIX_TIME + +-#if defined(i386) ++#if defined(__i386__) + #define NEED_I386_TAS_ASM + #define HAS_TEST_AND_SET + #endif + +-#if defined(sparc) ++#if defined(__sparc__) + #define NEED_SPARC_TAS_ASM + #define HAS_TEST_AND_SET + #endif + +-#if defined(vax) ++#if defined(__vax__) + #define NEED_VAX_TAS_ASM + #define HAS_TEST_AND_SET + #endif |