Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 679962

Summary: net-libs/zeromq-4.3.1: Build static libs with -fPIC
Product: Gentoo Linux Reporter: Patrick Lauer <patrick>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Lauer gentoo-dev 2019-03-10 18:31:14 UTC
This is required for building the pipelinedb postgres extension, for example.

Patch:
diff --git a/net-libs/zeromq/zeromq-4.3.1.ebuild b/net-libs/zeromq/zeromq-4.3.1.ebuild
index 48d315ec333..2853565fb3b 100644
--- a/net-libs/zeromq/zeromq-4.3.1.ebuild
+++ b/net-libs/zeromq/zeromq-4.3.1.ebuild
@@ -45,6 +45,7 @@ src_configure() {
                $(use_with sodium libsodium)
                $(use_with pgm)
                $(use_with doc docs)
+               --with-pic
        )
        econf "${myeconfargs[@]}"
 }