diff options
Diffstat (limited to 'databases/postgresql/patches/patch-ah')
-rw-r--r-- | databases/postgresql/patches/patch-ah | 67 |
1 files changed, 13 insertions, 54 deletions
diff --git a/databases/postgresql/patches/patch-ah b/databases/postgresql/patches/patch-ah index f6200846257..32d687ff907 100644 --- a/databases/postgresql/patches/patch-ah +++ b/databases/postgresql/patches/patch-ah @@ -1,55 +1,14 @@ -$NetBSD: patch-ah,v 1.3 1999/09/19 04:24:55 jlam Exp $ +$NetBSD: patch-ah,v 1.4 1999/09/20 23:38:49 jlam Exp $ ---- ./configure.in.orig Sat May 29 20:06:44 1999 -+++ ./configure.in Sat Sep 18 03:21:22 1999 -@@ -23,11 +23,7 @@ - bsdi*) os=bsdi need_tas=no ;; - freebsd1*|freebsd2*) os=freebsd need_tas=no ;; - freebsd*) os=freebsd need_tas=no elf=yes ;; -- netbsd*) -- os=bsd need_tas=no -- case "$host_cpu" in -- powerpc) elf=yes ;; -- esac ;; -+ netbsd*) os=bsd need_tas=no elf=maybe ;; # mix of a.out & ELF platforms - openbsd*) os=bsd need_tas=no ;; - dgux*) os=dgux need_tas=no ;; - aix*) os=aix need_tas=no ;; -@@ -58,13 +54,6 @@ - exit;; - esac - --if test "X$elf" = "Xyes" --then -- ELF_SYS=true --else -- ELF_SYS= --fi -- - if test "X$need_tas" = "Xyes" - then - AC_LINK_FILES(backend/port/tas/${tas_file}, backend/port/tas.s) -@@ -416,6 +405,23 @@ - - LDFLAGS="$LDFLAGS $PGSQL_LDFLAGS" - echo "- setting LDFLAGS=$LDFLAGS" -+ -+dnl Check for ELF after finding compiler. -+case "X$elf" in -+Xmaybe) -+ if ${CC} -E - -dM </dev/null | grep -q __ELF__; then -+ ELF_SYS=true -+ else -+ ELF_SYS= -+ fi -+ ;; -+Xyes) -+ ELF_SYS=true -+ ;; -+*) -+ ELF_SYS= -+ ;; -+esac - - AC_SUBST(ELF_SYS) - AC_SUBST(PORTNAME) +--- ./bin/Makefile.orig Thu May 20 12:49:59 1999 ++++ ./bin/Makefile Mon Sep 20 12:09:31 1999 +@@ -27,7 +27,8 @@ + # + ifeq ($(USE_TCL), true) + ifeq ($(USE_TK), true) +- DIRS += pgaccess ++# pgaccess directory doesn't contain any sources ++# DIRS += pgaccess + endif + DIRS += pgtclsh + endif |