net-libs/openmq-cclient: respect PKG_CONFIG

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-04-19 09:16:03 +01:00
parent ffc0437117
commit 52a2bdffaf
2 changed files with 4 additions and 4 deletions

View File

@@ -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)))

View File

@@ -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
}