head 1.3; access; symbols 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.26 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.24 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.20 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.18 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.16 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.14 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.12 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.10 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.8 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.6 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.4 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.2 pkgsrc-2015Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2020.05.23.07.25.08; author adam; state dead; branches; next 1.2; commitid eRHkoMosPVYnRk9C; 1.2 date 2018.01.22.11.05.30; author jperkin; state Exp; branches; next 1.1; commitid HwEzVTTu9q8SsRnA; 1.1 date 2015.01.14.21.01.18; author adam; state Exp; branches; next ; commitid onhVWdCzursff26y; desc @@ 1.3 log @Retired mysql55 and postgresql94 packages @ 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:13:17.000000000 +0000 +++ src/Makefile.shlib @@@@ -150,17 +150,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 @@@@ -176,6 +170,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) @@@@ -231,7 +236,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 @@@@ -486,8 +491,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)' && \ @@@@ -500,7 +507,7 @@@@ ifneq ($(shlib), $(shlib_bare)) $(LN_S) $(shlib) $(shlib_bare) endif endif # not win32 -endif # not cygwin +endif # cygwin endif # not aix else # no soname $(INSTALL_SHLIB) $< '$(DESTDIR)$(pkglibdir)/$(shlib)' @ 1.2 log @postgresql*: Use correct linker flags on SunOS. @ text @d1 1 a1 1 $NetBSD: patch-src_Makefile.shlib,v 1.1 2015/01/14 21:01:18 adam Exp $ @ 1.1 log @PostgreSQL 9.4.0: This release adds many new features which enhance PostgreSQL's flexibility, scalability and performance for many different types of database users, including improvements to JSON support, replication and index performance. @ text @d1 1 a1 1 $NetBSD: patch-src_Makefile.shlib,v 1.3 2014/02/23 11:25:54 adam Exp $ d3 3 a5 1 --- src/Makefile.shlib.orig 2013-09-02 20:53:17.000000000 +0000 d7 1 a7 1 @@@@ -156,17 +156,11 @@@@ endif d25 1 a25 1 @@@@ -182,6 +176,17 @@@@ ifeq ($(PORTNAME), netbsd) d43 10 a52 1 @@@@ -467,8 +480,10 @@@@ ifdef soname d64 1 a64 1 @@@@ -481,7 +496,7 @@@@ ifneq ($(shlib), $(shlib_bare)) @