mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-libs/openmq-cclient: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -18,8 +18,8 @@ LTCC = $(LIBTOOL) --mode=compile --tag=CC $(CC)
|
||||
LTCXX = $(LIBTOOL) --mode=compile --tag=CXX $(CXX)
|
||||
LTLD = $(LIBTOOL) --mode=link --tag=CXX $(CXX)
|
||||
|
||||
NS_S_PR_CFLAGS = $(shell pkg-config --cflags nss nspr)
|
||||
NS_S_PR_LIBS = $(shell pkg-config --libs nss nspr)
|
||||
NS_S_PR_CFLAGS = $(shell ${PKG_CONFIG} --cflags nss nspr)
|
||||
NS_S_PR_LIBS = $(shell ${PKG_CONFIG} --libs nss nspr)
|
||||
|
||||
SRCS = $(shell find "$(top_srcdir)" -name examples -prune -o -type f '(' -name '*.cpp' -o -name '*.c' -not -name '*Test*' ')')
|
||||
LTOBJS = $(subst .c,.lo,$(subst .cpp,.lo,$(SRCS)))
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools epatch versionator
|
||||
inherit autotools epatch toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="C-Client Library for Open Source Java Message Service (JMS)"
|
||||
HOMEPAGE="https://mq.java.net/"
|
||||
@@ -14,7 +14,6 @@ MY_BUILDV="b7"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
if [[ $(x=( $(get_all_version_components) ); echo ${x[3]}) == '.' ]]; then
|
||||
MY_PV=$(replace_version_separator 2 'u' $(get_version_component_range 1-3))
|
||||
@@ -79,6 +78,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export PKG_CONFIG
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user