diff options
author | adam <adam@pkgsrc.org> | 2021-05-24 07:42:01 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-05-24 07:42:01 +0000 |
commit | 6e206df755234e55672dc619b7386f3dc3578fce (patch) | |
tree | 9c451b18f241d54145cfd15811120fc8e49e2bef /databases/postgresql95 | |
parent | 3182023653d01a85567a2b4699c36c1eef91ff94 (diff) | |
download | pkgsrc-6e206df755234e55672dc619b7386f3dc3578fce.tar.gz |
postgresql95: removed; EOL
Diffstat (limited to 'databases/postgresql95')
20 files changed, 0 insertions, 545 deletions
diff --git a/databases/postgresql95/DESCR b/databases/postgresql95/DESCR deleted file mode 100644 index 9f6b5b5b0f9..00000000000 --- a/databases/postgresql95/DESCR +++ /dev/null @@ -1,9 +0,0 @@ -PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS), -derived from the Berkeley Postgres database management system. While -PostgreSQL retains the powerful object-relational data model, rich data types -and easy extensibility of Postgres, it replaces the PostQuel query language -with an extended subset of SQL. - -PostgreSQL is free and the complete source is available. - -This is the meta-package for the PostgreSQL database system. diff --git a/databases/postgresql95/Makefile b/databases/postgresql95/Makefile deleted file mode 100644 index 8df6c8059a5..00000000000 --- a/databases/postgresql95/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# $NetBSD: Makefile,v 1.17 2021/05/22 10:08:49 nia Exp $ - -PKGNAME= ${DISTNAME:S/-/95-/} -PKGREVISION= 1 -COMMENT= Robust, next generation, object-relational DBMS - -DEPENDS+= postgresql95-client>=${PKGVERSION_NOREV}:../../databases/postgresql95-client -DEPENDS+= postgresql95-docs>=${PKGVERSION_NOREV}:../../databases/postgresql95-docs -DEPENDS+= postgresql95-server>=${PKGVERSION_NOREV}:../../databases/postgresql95-server - -META_PACKAGE= yes - -.include "Makefile.common" - -.include "../../mk/bsd.pkg.mk" diff --git a/databases/postgresql95/Makefile.common b/databases/postgresql95/Makefile.common deleted file mode 100644 index a3d408ea9f2..00000000000 --- a/databases/postgresql95/Makefile.common +++ /dev/null @@ -1,156 +0,0 @@ -# $NetBSD: Makefile.common,v 1.38 2021/05/07 06:58:56 nia Exp $ -# -# This Makefile fragment is included by all PostgreSQL packages built from -# the main sources of the PostgreSQL distribution except jdbc-postgresql. -# -# The PostgreSQL package naming scheme, aside from the obvious piecewise -# packages, is as follows: -# <lang>-postgresql client-side interface to PostgreSQL -# postgresql-<lang> server-side module for PostgreSQL backend -# -# used by databases/postgresql95-client/Makefile -# used by databases/postgresql95-contrib/Makefile -# used by databases/postgresql95-docs/Makefile -# used by databases/postgresql95-plperl/Makefile -# used by databases/postgresql95-plpython/Makefile -# used by databases/postgresql95-pltcl/Makefile -# used by databases/postgresql95-server/Makefile - -DISTNAME= postgresql-9.5.25 -CATEGORIES= databases -MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} -EXTRACT_SUFX= .tar.bz2 - -MAINTAINER?= adam@NetBSD.org -HOMEPAGE= https://www.postgresql.org/ -LICENSE= postgresql-license - -CONFLICTS+= postgresql-[0-9]* -CONFLICTS+= postgresql[0-8][0-9]-[0-9]* -CONFLICTS+= postgresql9[012346-9]-[0-9]* - -.if !empty(PKGNAME:M*-*-*) -module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} -CONFLICTS+= postgresql[0-8][0-9]-${module}-[0-9]* -CONFLICTS+= postgresql9[012346-9]-${module}-[0-9]* -.endif - -DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql95/distinfo -COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql95/files -PATCHDIR?= ${.CURDIR}/../../databases/postgresql95/patches - -USE_PKGLOCALEDIR= yes -USE_TOOLS+= bison gmake lex msgfmt -PKG_SYSCONFSUBDIR= postgresql - -.include "../../mk/bsd.prefs.mk" - -PG_TEMPLATE.SunOS= solaris -PG_TEMPLATE.IRIX= irix5 -PG_TEMPLATE.MirBSD= openbsd -PG_TEMPLATE.DragonFly= freebsd -.if !defined(PG_TEMPLATE.${OPSYS}) -PG_TEMPLATE.${OPSYS}= ${LOWER_OPSYS} -.endif - -PG_DATA_DIR= ${PREFIX}/share/postgresql -PG_DOC_DIR= ${PREFIX}/share/doc/postgresql -PG_LOCALE_DIR= ${PREFIX}/${PKGLOCALEDIR}/locale -PG_ETC_DIR= ${PKG_SYSCONFDIR} - -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --sysconfdir=${PG_ETC_DIR} -CONFIGURE_ARGS+= --datadir=${PG_DATA_DIR} -CONFIGURE_ARGS+= --docdir=${PG_DOC_DIR} -CONFIGURE_ARGS+= --localedir=${PG_LOCALE_DIR} -CONFIGURE_ARGS+= --with-template=${PG_TEMPLATE.${OPSYS}} - -CONFIGURE_ARGS+= --enable-nls -CONFIGURE_ARGS+= --with-libxml -CONFIGURE_ARGS+= --with-readline -CONFIGURE_ARGS+= --without-perl -CONFIGURE_ARGS+= --without-python -CONFIGURE_ARGS+= --without-tcl - -# sys/ucred.h shouldn't be included on Solaris, causes conflicts between -# procfs and largefile. -CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no - -# pkgsrc silently filters the --as-needed linker arg, but that makes -# it leak into the pgxs Makefiles and compromises manual building -# against PostgreSQL files installed. Disable it here to prevent -# that from happening. -.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" -CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no -.endif - -# Postgres on Alpha has no spinlock or memory barrier implementation -# and is "unlikely to work correctly". -# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org -BROKEN_ON_PLATFORM+= *-*-alpha - -# configure fails on OpenBSD and MirBSD if thread safety is enabled. -CONFIGURE_ARGS.MirBSD+= --disable-thread-safety -CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety - -# PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block. -# This also limits the size of a tuple. The valid values are powers -# of 2 up to 32768, and the default size is 8196. Please don't change -# this value unless you know what you are doing. -BUILD_DEFS+= PGSQL_BLCKSZ -.if defined(PGSQL_BLCKSZ) -CONFIGURE_ARGS+= --with-blocksize=${PGSQL_BLCKSZ} -.endif - -# UUID support for contrib/uuid-ossp -# It has to be defined here, because it affects Makefile.global -.if ${OPSYS:M*BSD} -CONFIGURE_ARGS+= --with-uuid=bsd -.elif ${OPSYS} == "Darwin" || ${OPSYS} == "Linux" -CONFIGURE_ARGS+= --with-uuid=e2fs -.include "../../devel/libuuid/buildlink3.mk" -.elif ${OPSYS} == "SunOS" -CONFIGURE_ARGS+= --with-uuid=ossp -.include "../../devel/ossp-uuid/buildlink3.mk" -.endif - -# PostgreSQL explicitly forbids any use of -ffast-math -BUILDLINK_TRANSFORM+= rm:-ffast-math - -# USE_LIBLTDL is "yes" or "no" depending on whether we're using libltdl -# to provide "dlopen" functionality for the PostgreSQL backend. -.if ${OPSYS} == "Interix" -USE_LIBLTDL?= yes -.endif -USE_LIBLTDL?= no - -.include "../../devel/gettext-lib/buildlink3.mk" -LIBS.SunOS+= -lintl -.include "../../devel/zlib/buildlink3.mk" -.include "../../textproc/libxml2/buildlink3.mk" - -.include "../../mk/readline.buildlink3.mk" -.if ${READLINE_TYPE} == "editline" -CONFIGURE_ARGS+= --with-libedit-preferred -.endif - -.if !defined(META_PACKAGE) -post-extract: -. if !empty(USE_LIBLTDL:M[yY][eE][sS]) - ${CP} -f ${COMMON_FILESDIR}/dynloader-ltdl.h \ - ${WRKSRC}/src/backend/port/dynloader/${PG_TEMPLATE.${OPSYS}:Q}.h - ${ECHO} "static int dummy = 0;" \ - > ${WRKSRC}/src/backend/port/dynloader/${PG_TEMPLATE.${OPSYS}:Q}.c -. endif - ${TOUCH} ${WRKSRC}/src/template/dragonfly - ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.c \ - ${WRKSRC}/src/backend/port/dynloader/dragonfly.c - ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \ - ${WRKSRC}/src/backend/port/dynloader/dragonfly.h - ${CP} ${WRKSRC}/src/include/port/freebsd.h \ - ${WRKSRC}/src/include/port/dragonfly.h - ${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \ - ${WRKSRC}/src/makefiles/Makefile.dragonfly -.endif - -.include "../../databases/postgresql95/options.mk" diff --git a/databases/postgresql95/PLIST b/databases/postgresql95/PLIST deleted file mode 100644 index afae6853594..00000000000 --- a/databases/postgresql95/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2016/02/25 21:37:35 tnn Exp $ -@comment this plist intentionally left empty diff --git a/databases/postgresql95/distinfo b/databases/postgresql95/distinfo deleted file mode 100644 index c99937d7a2d..00000000000 --- a/databases/postgresql95/distinfo +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: distinfo,v 1.28 2021/03/18 15:04:55 adam Exp $ - -SHA1 (postgresql-9.5.25.tar.bz2) = 06775dad91cff791d54f07aef4499eb844843932 -RMD160 (postgresql-9.5.25.tar.bz2) = 29bc5f749edd9b3f45d133f970a593dd610b72fb -SHA512 (postgresql-9.5.25.tar.bz2) = 621b36d767d2c7eb2e942cb7b26ca7491450fcfd9606114849f7336b4d8a0bc0196badb44da4918e748145d21b6f72ccf1255a1309dff2427da8b39b63fca427 -Size (postgresql-9.5.25.tar.bz2) = 17923796 bytes -SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813 -SHA1 (patch-config_perl.m4) = 14c9564577d0df6f82ae0027aeada2f3a6a8f07c -SHA1 (patch-configure) = 18dd4af7f043b090beda157dfd52531b551eafd0 -SHA1 (patch-contrib_dblink_dblink.c) = a6f87ab9f2c28a72608d70267b71bd77437b0921 -SHA1 (patch-contrib_uuid-ossp_Makefile) = 2eff5d539a4501dda45d23bc094a5099a456e0af -SHA1 (patch-src_Makefile.global.in) = 2ab3affedc77b202f6749964287438d6179ca23a -SHA1 (patch-src_Makefile.shlib) = a809ef756e9314723476fe7408a97d23f83a0311 -SHA1 (patch-src_backend_Makefile) = b70b38ea23af6cdde9d2349f2441a429078cfaca -SHA1 (patch-src_backend_utils_adt_datetime.c) = d1ea70986634d3bfb663eff789425252656e1289 -SHA1 (patch-src_interfaces_ecpg_pgtypeslib_interval.c) = a15012ae34d4ecd1eb2bc29e4d2c40098ea236fd -SHA1 (patch-src_interfaces_libpq_Makefile) = 61bcf84eb69b6ec9faabab0b61913766f4b20f8c -SHA1 (patch-src_makefiles_Makefile.solaris) = 0168f5bc105ffc89d5db40907a08966d8465f5a0 -SHA1 (patch-src_pl_plperl_GNUmakefile) = 6ee3e431f46ce5c2a94df499504b2b8bd458bbef -SHA1 (patch-src_pl_plperl_plperl.h) = d31b24a953861703fe4b87d9a7d38d3c90e0411e diff --git a/databases/postgresql95/options.mk b/databases/postgresql95/options.mk deleted file mode 100644 index f6f9da68e6c..00000000000 --- a/databases/postgresql95/options.mk +++ /dev/null @@ -1,41 +0,0 @@ -# $NetBSD: options.mk,v 1.4 2017/12/15 16:52:24 dholland Exp $ - -PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql95 -PKG_SUPPORTED_OPTIONS= bonjour dtrace gssapi ldap pam -PKG_SUGGESTED_OPTIONS= gssapi - -.include "../../mk/bsd.options.mk" - -# Bonjour support -.if !empty(PKG_OPTIONS:Mbonjour) -CONFIGURE_ARGS+= --with-bonjour -. if ${OPSYS} != "Darwin" -LIBS+= -ldns_sd -. endif -. include "../../net/mDNSResponder/buildlink3.mk" -.endif - -# Dtrace support -.if !empty(PKG_OPTIONS:Mdtrace) -CONFIGURE_ARGS+= --enable-dtrace -.endif - -# GSSAPI (Kerberos5) authentication for the PostgreSQL backend -.if !empty(PKG_OPTIONS:Mgssapi) -. include "../../mk/krb5.buildlink3.mk" -CONFIGURE_ARGS+= --with-gssapi -.else -CONFIGURE_ARGS+= --without-gssapi -.endif - -# LDAP authentication for the PostgreSQL backend -.if !empty(PKG_OPTIONS:Mldap) -. include "../../databases/openldap-client/buildlink3.mk" -CONFIGURE_ARGS+= --with-ldap -.endif - -# PAM authentication for the PostgreSQL backend -.if !empty(PKG_OPTIONS:Mpam) -. include "../../mk/pam.buildlink3.mk" -CONFIGURE_ARGS+= --with-pam -.endif diff --git a/databases/postgresql95/patches/patch-config_missing b/databases/postgresql95/patches/patch-config_missing deleted file mode 100644 index c05bb7f4ac8..00000000000 --- a/databases/postgresql95/patches/patch-config_missing +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-config_missing,v 1.1 2016/02/25 21:37:35 tnn Exp $ - ---- config/missing.orig 2012-10-05 12:14:55.000000000 +0000 -+++ config/missing -@@ -40,7 +40,7 @@ pre-packaged $1 output. - ERROR: Perl is missing on your system. It is needed unless you are building - from an unmodified official distribution of PostgreSQL. - ***" >&2 -- exit 1 -+ exit 0 - ;; - - *) diff --git a/databases/postgresql95/patches/patch-config_perl.m4 b/databases/postgresql95/patches/patch-config_perl.m4 deleted file mode 100644 index 14f8d92137f..00000000000 --- a/databases/postgresql95/patches/patch-config_perl.m4 +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-config_perl.m4,v 1.2 2018/02/08 20:53:57 adam Exp $ - ---- config/perl.m4.orig 2018-02-05 21:07:03.000000000 +0000 -+++ config/perl.m4 -@@ -100,9 +100,7 @@ if test "$PORTNAME" = "win32" ; then - fi - fi - else -- pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts` -- pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'` -- perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s%$pgac_tmp2%%" -e ["s/ -arch [-a-zA-Z0-9_]*//g"]` -+ perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts` - fi - AC_SUBST(perl_embed_ldflags)dnl - if test -z "$perl_embed_ldflags" ; then diff --git a/databases/postgresql95/patches/patch-configure b/databases/postgresql95/patches/patch-configure deleted file mode 100644 index 218d0b68214..00000000000 --- a/databases/postgresql95/patches/patch-configure +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-configure,v 1.2 2018/02/08 20:53:57 adam Exp $ - -Finally, native solaris uses -lgss for gssapi on mit-krb5. - ---- configure.orig 2018-02-05 21:05:21.000000000 +0000 -+++ configure -@@ -2857,6 +2857,7 @@ case $host_os in - darwin*) template=darwin ;; - dragonfly*) template=netbsd ;; - freebsd*) template=freebsd ;; -+ dragonfly*) template=dragonfly ;; - hpux*) template=hpux ;; - linux*|gnu*|k*bsd*-gnu) - template=linux ;; -@@ -7451,9 +7452,7 @@ if test "$PORTNAME" = "win32" ; then - fi - fi - else -- pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts` -- pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'` -- perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s%$pgac_tmp2%%" -e "s/ -arch [-a-zA-Z0-9_]*//g"` -+ perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts` - fi - if test -z "$perl_embed_ldflags" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -@@ -8636,7 +8635,7 @@ return gss_init_sec_context (); - return 0; - } - _ACEOF --for ac_lib in '' gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'; do -+for ac_lib in '' gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto' 'gss -lkrb5 lcrypto'; do - if test -z "$ac_lib"; then - ac_res="none required" - else diff --git a/databases/postgresql95/patches/patch-contrib_dblink_dblink.c b/databases/postgresql95/patches/patch-contrib_dblink_dblink.c deleted file mode 100644 index 5dafdea82e3..00000000000 --- a/databases/postgresql95/patches/patch-contrib_dblink_dblink.c +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-contrib_dblink_dblink.c,v 1.1 2016/02/25 21:37:35 tnn Exp $ - ---- contrib/dblink/dblink.c.orig 2013-04-01 18:20:36.000000000 +0000 -+++ contrib/dblink/dblink.c -@@ -52,7 +52,7 @@ - #include "parser/scansup.h" - #include "utils/acl.h" - #include "utils/builtins.h" --#include "utils/fmgroids.h" -+#include "postgresql/server/utils/fmgroids.h" - #include "utils/guc.h" - #include "utils/lsyscache.h" - #include "utils/memutils.h" diff --git a/databases/postgresql95/patches/patch-contrib_uuid-ossp_Makefile b/databases/postgresql95/patches/patch-contrib_uuid-ossp_Makefile deleted file mode 100644 index 817bfa3336b..00000000000 --- a/databases/postgresql95/patches/patch-contrib_uuid-ossp_Makefile +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-contrib_uuid-ossp_Makefile,v 1.1 2021/03/18 15:04:56 adam Exp $ - -Use relative path, as top_srcdir points to PREFIX. - ---- contrib/uuid-ossp/Makefile.orig 2021-02-08 21:56:03.000000000 +0000 -+++ contrib/uuid-ossp/Makefile -@@ -12,7 +12,7 @@ REGRESS = uuid_ossp - SHLIB_LINK += $(UUID_LIBS) - - # We copy some needed files verbatim from pgcrypto --pgcrypto_src = $(top_srcdir)/contrib/pgcrypto -+pgcrypto_src = ../pgcrypto - - PG_CPPFLAGS = -I$(pgcrypto_src) - diff --git a/databases/postgresql95/patches/patch-src_Makefile.global.in b/databases/postgresql95/patches/patch-src_Makefile.global.in deleted file mode 100644 index 47aeaf5ff46..00000000000 --- a/databases/postgresql95/patches/patch-src_Makefile.global.in +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-src_Makefile.global.in,v 1.1 2016/02/25 21:37:35 tnn Exp $ - ---- src/Makefile.global.in.orig 2015-10-05 19:12:06.000000000 +0000 -+++ src/Makefile.global.in -@@ -570,6 +570,11 @@ ifeq ($(PORTNAME),win32) - LIBS += -lws2_32 - endif - -+# missing for link on cygwin ? -+ifeq ($(PORTNAME),cygwin) -+LIBS += $(LDAP_LIBS_BE) -+endif -+ - # Not really standard libc functions, used by the backend. - TAS = @TAS@ - diff --git a/databases/postgresql95/patches/patch-src_Makefile.shlib b/databases/postgresql95/patches/patch-src_Makefile.shlib deleted file mode 100644 index f5872cb54b4..00000000000 --- a/databases/postgresql95/patches/patch-src_Makefile.shlib +++ /dev/null @@ -1,72 +0,0 @@ -$NetBSD: patch-src_Makefile.shlib,v 1.2 2018/01/22 11:05:30 jperkin Exp $ - -Use correct linker flags. - ---- src/Makefile.shlib.orig 2017-11-06 22:11:00.000000000 +0000 -+++ src/Makefile.shlib -@@ -151,17 +151,11 @@ endif - - ifeq ($(PORTNAME), freebsd) - ifdef ELF_SYSTEM -- ifdef SO_MAJOR_VERSION -- shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) -- endif - LINK.shared = $(COMPILER) -shared - ifdef soname - LINK.shared += -Wl,-x,-soname,$(soname) - endif - else -- ifdef SO_MAJOR_VERSION -- shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) -- endif - LINK.shared = $(LD) -x -Bshareable -Bforcearchive - endif - endif -@@ -177,6 +171,17 @@ ifeq ($(PORTNAME), netbsd) - endif - endif - -+ifeq ($(PORTNAME), dragonfly) -+ ifdef ELF_SYSTEM -+ LINK.shared = $(COMPILER) -shared -+ ifdef soname -+ LINK.shared += -Wl,-x,-soname,$(soname) -+ endif -+ else -+ LINK.shared = $(LD) -x -Bshareable -Bforcearchive -+ endif -+endif -+ - ifeq ($(PORTNAME), hpux) - ifdef SO_MAJOR_VERSION - shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) -@@ -232,7 +237,7 @@ ifeq ($(PORTNAME), solaris) - ifeq ($(with_gnu_ld), yes) - LINK.shared += -Wl,-soname,$(soname) - else -- LINK.shared += -h $(soname) -+ LINK.shared += -Wl,-h,$(soname) - endif - endif - endif -@@ -483,8 +488,10 @@ ifdef soname - # we don't install $(shlib) on AIX - # (see http://archives.postgresql.org/message-id/52EF20B2E3209443BC37736D00C3C1380A6E79FE@EXADV1.host.magwien.gv.at) - ifneq ($(PORTNAME), aix) -+ifeq ($(PORTNAME), cygwin) -+ $(INSTALL_SHLIB) $< '$(DESTDIR)$(bindir)/$(shlib)' -+else - $(INSTALL_SHLIB) $< '$(DESTDIR)$(libdir)/$(shlib)' --ifneq ($(PORTNAME), cygwin) - ifneq ($(PORTNAME), win32) - ifneq ($(shlib), $(shlib_major)) - cd '$(DESTDIR)$(libdir)' && \ -@@ -497,7 +504,7 @@ ifneq ($(shlib), $(shlib_bare)) - $(LN_S) $(shlib) $(shlib_bare) - endif - endif # not win32 --endif # not cygwin -+endif # cygwin - endif # not aix - ifneq (,$(findstring $(PORTNAME),win32 cygwin)) - $(INSTALL_SHLIB) $< '$(DESTDIR)$(bindir)/$(shlib)' diff --git a/databases/postgresql95/patches/patch-src_backend_Makefile b/databases/postgresql95/patches/patch-src_backend_Makefile deleted file mode 100644 index ca1433736aa..00000000000 --- a/databases/postgresql95/patches/patch-src_backend_Makefile +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-src_backend_Makefile,v 1.1 2016/02/25 21:37:35 tnn Exp $ - ---- src/backend/Makefile.orig 2014-12-16 01:07:34.000000000 +0000 -+++ src/backend/Makefile -@@ -17,6 +17,10 @@ subdir = src/backend - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - -+CFLAGS+= $(DL_CFLAGS) -+LDFLAGS+= $(DL_LDFLAGS) -+LIBS+= $(DL_LIBS) -+ - SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \ - main nodes optimizer port postmaster regex replication rewrite \ - storage tcop tsearch utils $(top_builddir)/src/timezone -@@ -121,6 +125,8 @@ catalog/schemapg.h: | submake-schemapg - - $(top_builddir)/src/port/libpgport_srv.a: | submake-libpgport - -+$(top_builddir)/src/common/libpgcommon_srv.a: | submake-libpgport -+ - - # The postgres.o target is needed by the rule in Makefile.global that - # creates the exports file when MAKE_EXPORTS = true. diff --git a/databases/postgresql95/patches/patch-src_backend_utils_adt_datetime.c b/databases/postgresql95/patches/patch-src_backend_utils_adt_datetime.c deleted file mode 100644 index e796cc155fc..00000000000 --- a/databases/postgresql95/patches/patch-src_backend_utils_adt_datetime.c +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-src_backend_utils_adt_datetime.c,v 1.1 2016/02/25 21:37:35 tnn Exp $ - ---- src/backend/utils/adt/datetime.c.orig 2014-12-16 01:07:34.000000000 +0000 -+++ src/backend/utils/adt/datetime.c -@@ -31,6 +31,9 @@ - #include "utils/memutils.h" - #include "utils/tzparser.h" - -+#if defined(__NetBSD__) -+#define strtoi pg_strtoi -+#endif - - static int DecodeNumber(int flen, char *field, bool haveTextMonth, - int fmask, int *tmask, diff --git a/databases/postgresql95/patches/patch-src_interfaces_ecpg_pgtypeslib_interval.c b/databases/postgresql95/patches/patch-src_interfaces_ecpg_pgtypeslib_interval.c deleted file mode 100644 index 4caf773c5cf..00000000000 --- a/databases/postgresql95/patches/patch-src_interfaces_ecpg_pgtypeslib_interval.c +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-src_interfaces_ecpg_pgtypeslib_interval.c,v 1.2 2016/05/23 14:27:35 adam Exp $ - ---- src/interfaces/ecpg/pgtypeslib/interval.c.orig 2016-05-09 20:50:23.000000000 +0000 -+++ src/interfaces/ecpg/pgtypeslib/interval.c -@@ -14,6 +14,10 @@ - #include "pgtypes_error.h" - #include "pgtypes_interval.h" - -+#if defined(__NetBSD__) -+#define strtoi pg_strtoi -+#endif -+ - /* copy&pasted from .../src/backend/utils/adt/datetime.c */ - static int - strtoint(const char *nptr, char **endptr, int base) diff --git a/databases/postgresql95/patches/patch-src_interfaces_libpq_Makefile b/databases/postgresql95/patches/patch-src_interfaces_libpq_Makefile deleted file mode 100644 index a2c7e562b01..00000000000 --- a/databases/postgresql95/patches/patch-src_interfaces_libpq_Makefile +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-src_interfaces_libpq_Makefile,v 1.1 2016/02/25 21:37:35 tnn Exp $ - ---- src/interfaces/libpq/Makefile.orig 2016-02-08 21:12:28.000000000 +0000 -+++ src/interfaces/libpq/Makefile -@@ -49,7 +49,7 @@ OBJS += fe-secure-openssl.o - endif - - ifeq ($(PORTNAME), cygwin) --override shlib = cyg$(NAME)$(DLSUFFIX) -+override shlib = cyg$(NAME)-$(SO_MAJOR_VERSION)$(DLSUFFIX) - endif - - ifeq ($(PORTNAME), win32) diff --git a/databases/postgresql95/patches/patch-src_makefiles_Makefile.solaris b/databases/postgresql95/patches/patch-src_makefiles_Makefile.solaris deleted file mode 100644 index b855cabea5f..00000000000 --- a/databases/postgresql95/patches/patch-src_makefiles_Makefile.solaris +++ /dev/null @@ -1,10 +0,0 @@ -$NetBSD: patch-src_makefiles_Makefile.solaris,v 1.1 2016/02/25 21:37:35 tnn Exp $ - ---- src/makefiles/Makefile.solaris.orig 2011-09-23 00:00:48.000000000 +0200 -+++ src/makefiles/Makefile.solaris 2011-10-11 11:53:51.948565783 +0200 -@@ -23,5 +23,3 @@ ifeq ($(GCC), yes) - else - $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -G -o $@ $< - endif -- --sqlmansect = 5sql diff --git a/databases/postgresql95/patches/patch-src_pl_plperl_GNUmakefile b/databases/postgresql95/patches/patch-src_pl_plperl_GNUmakefile deleted file mode 100644 index 09bfe981e06..00000000000 --- a/databases/postgresql95/patches/patch-src_pl_plperl_GNUmakefile +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-src_pl_plperl_GNUmakefile,v 1.1 2016/02/25 21:37:35 tnn Exp $ - ---- src/pl/plperl/GNUmakefile.orig 2013-09-02 20:53:17.000000000 +0000 -+++ src/pl/plperl/GNUmakefile -@@ -55,7 +55,6 @@ XSUBPPDIR = $(shell $(PERL) -e 'use List - - include $(top_srcdir)/src/Makefile.shlib - --plperl.o: perlchunks.h plperl_opmask.h plperl_helpers.h - - plperl_opmask.h: plperl_opmask.pl - @if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi -@@ -65,7 +64,7 @@ perlchunks.h: $(PERLCHUNKS) - @if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi - $(PERL) $(srcdir)/text2macro.pl --strip='^(\#.*|\s*)$$' $^ > $@ - --all: all-lib -+all: perlchunks.h plperl_opmask.h plperl_helpers.h all-lib - - SPI.c: SPI.xs plperl_helpers.h - @if [ x"$(perl_privlibexp)" = x"" ]; then echo "configure switch --with-perl was not specified."; exit 1; fi diff --git a/databases/postgresql95/patches/patch-src_pl_plperl_plperl.h b/databases/postgresql95/patches/patch-src_pl_plperl_plperl.h deleted file mode 100644 index 1e05b3f85ac..00000000000 --- a/databases/postgresql95/patches/patch-src_pl_plperl_plperl.h +++ /dev/null @@ -1,27 +0,0 @@ -$NetBSD: patch-src_pl_plperl_plperl.h,v 1.3 2018/02/08 20:53:57 adam Exp $ - ---- src/pl/plperl/plperl.h.orig 2018-02-05 21:05:21.000000000 +0000 -+++ src/pl/plperl/plperl.h -@@ -50,6 +50,10 @@ - #define __inline__ inline - #endif - -+#ifdef __sun -+#define list_head sun_list_head -+#define list_tail sun_list_tail -+#endif - - /* - * Get the basic Perl API. We use PERL_NO_GET_CONTEXT mode so that our code -@@ -68,6 +72,11 @@ - #include "XSUB.h" - #endif - -+#ifdef __sun -+#undef list_head -+#undef list_tail -+#endif -+ - /* put back our snprintf and vsnprintf */ - #ifdef USE_REPL_SNPRINTF - #ifdef snprintf |