commit:     f045f82f1c013f0dcd54b68a05de38a23f0974a5
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 13:59:49 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 11:10:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f045f82f

dev-vcs/subversion: add cygwin support

Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/4256

 dev-vcs/subversion/subversion-1.9.5.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-vcs/subversion/subversion-1.9.5.ebuild 
b/dev-vcs/subversion/subversion-1.9.5.ebuild
index b3f7ebe9b88..7b0ad1c36f2 100644
--- a/dev-vcs/subversion/subversion-1.9.5.ebuild
+++ b/dev-vcs/subversion/subversion-1.9.5.ebuild
@@ -180,6 +180,10 @@ src_configure() {
                        # avoid recording immediate path to sharedlibs into 
executables
                        append-ldflags -Wl,-bnoipath
                ;;
+               *-cygwin*)
+                       # no LD_PRELOAD support, no undefined symbols
+                       myconf+=( --disable-local-library-preloading 
LT_LDFLAGS=-no-undefined )
+                       ;;
                *-interix*)
                        # loader crashes on the LD_PRELOADs...
                        myconf+=( --disable-local-library-preloading )

Reply via email to