head 1.3; access; symbols pkgsrc-2021Q1:1.2.0.26 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.24 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.22 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.20 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.16 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.18 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.14 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.12 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.10 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.8 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.6 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.4 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.2 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.1.0.18 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.16 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.12 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.10 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.8 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.6 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.4 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.2 pkgsrc-2016Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2021.05.24.07.42.01; author adam; state dead; branches; next 1.2; commitid kK7aPIKIms4MbnUC; 1.2 date 2018.01.22.11.05.30; author jperkin; state Exp; branches; next 1.1; commitid HwEzVTTu9q8SsRnA; 1.1 date 2016.02.25.21.37.35; author tnn; state Exp; branches; next ; commitid 4IbeN9MqT7aCmlWy; desc @@ 1.3 log @postgresql95: removed; EOL @ text @$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)' @ 1.2 log @postgresql*: Use correct linker flags on SunOS. @ text @d1 1 a1 1 $NetBSD: patch-src_Makefile.shlib,v 1.1 2016/02/25 21:37:35 tnn Exp $ @ 1.1 log @Add postgresql95 packages, converted from corresponding postgresql94 packages. postgresql95-upgrade is gone, the pg_upgrade tool is shipped with postgresql95-client now. Major enhancements in PostgreSQL 9.5 include: Allow INSERTs that would generate constraint conflicts to be turned into UPDATEs or ignored Add GROUP BY analysis features GROUPING SETS, CUBE and ROLLUP Add row-level security control Create mechanisms for tracking the progress of replication, including methods for identifying the origin of individual changes during logical replication Add Block Range Indexes (BRIN) Substantial performance improvements for sorting Substantial performance improvements for multi-CPU machines @ text @d1 1 a1 1 $NetBSD: patch-src_Makefile.shlib,v 1.1 2015/01/14 21:01:18 adam Exp $ d3 3 a5 1 --- src/Makefile.shlib.orig 2016-02-08 21:12:28.000000000 +0000 d43 10 a52 1 @@@@ -474,8 +479,10 @@@@ ifdef soname d64 1 a64 1 @@@@ -488,7 +495,7 @@@@ ifneq ($(shlib), $(shlib_bare)) @