summaryrefslogtreecommitdiff
path: root/databases/postgresql/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql/patches/patch-ab')
-rw-r--r--databases/postgresql/patches/patch-ab38
1 files changed, 0 insertions, 38 deletions
diff --git a/databases/postgresql/patches/patch-ab b/databases/postgresql/patches/patch-ab
deleted file mode 100644
index 69e25287260..00000000000
--- a/databases/postgresql/patches/patch-ab
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-ab,v 1.13 2002/04/04 07:48:24 jlam Exp $
-
---- config/programs.m4.orig Tue Aug 28 10:59:11 2001
-+++ config/programs.m4
-@@ -80,6 +80,14 @@
- [AC_REQUIRE([AC_CANONICAL_HOST])
- AC_MSG_CHECKING([for readline])
-
-+case $host_os in netbsd* | openbsd* )
-+ if echo __ELF__ | $CPP - 2>/dev/null | grep __ELF__ >/dev/null; then
-+ objformat=a.out
-+ else
-+ objformat=ELF
-+ fi
-+esac
-+
- AC_CACHE_VAL([pgac_cv_check_readline],
- [pgac_cv_check_readline=no
- for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do
-@@ -87,12 +95,14 @@
- pgac_save_LIBS=$LIBS
- LIBS="${pgac_rllib}${pgac_lib} $LIBS"
- AC_TRY_LINK_FUNC([readline], [[
-- # NetBSD and OpenBSD have a broken linker that does not
-+ # NetBSD and OpenBSD have a broken a.out linker that does not
- # recognize dependent libraries
- case $host_os in netbsd* | openbsd* )
-- case $pgac_lib in
-- *curses*) ;;
-- *) pgac_lib=" -lcurses" ;;
-+ case $objformat in a.out )
-+ case $pgac_lib in
-+ *curses*) ;;
-+ *) pgac_lib=" -lcurses" ;;
-+ esac
- esac
- esac
-