summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorkleink <kleink>2000-03-05 19:12:44 +0000
committerkleink <kleink>2000-03-05 19:12:44 +0000
commit4b78acf24d29aee1e46d95ed18ffe97a4b8e1f93 (patch)
treeb571b4e2f7fc30ddf330b54a688d72f9c9d76403 /databases
parentf1daa692054a9c92e163b4c70d11fac7c0e88792 (diff)
downloadpkgsrc-4b78acf24d29aee1e46d95ed18ffe97a4b8e1f93.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.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql/patches/patch-ao24
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