sci-electronics/slang: fix pkgconfig

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2023-03-15 19:47:32 +08:00
parent c00143648c
commit d41dc78fb2
3 changed files with 22 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
From b821c33c391814ac332d6a85783179e084d1345a Mon Sep 17 00:00:00 2001
From: Nick Gasson <nick@nickg.me.uk>
Date: Sun, 20 Nov 2022 21:23:24 +0000
Subject: [PATCH] Fix library name in sv-lang.pc.in (#661)
---
scripts/sv-lang.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/sv-lang.pc.in b/scripts/sv-lang.pc.in
index eabfbc9a..fc6191b7 100644
--- a/scripts/sv-lang.pc.in
+++ b/scripts/sv-lang.pc.in
@@ -7,4 +7,4 @@ Description: @PROJECT_DESCRIPTION@
URL: @PROJECT_HOMEPAGE_URL@
Version: @PROJECT_VERSION@
Cflags: -I"${includedir}"
-Libs: -L"${libdir}" -lslang
+Libs: -L"${libdir}" -lsvlang

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -44,6 +44,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}/${PN}-2.0-fix-unordered-dense.patch"
"${FILESDIR}/${PN}-2.0-renamed-svlang.patch"
"${FILESDIR}/${PN}-2.0-fix-pkgconfig.patch"
)
src_configure() {

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -41,11 +41,6 @@ DEPEND="
${RDEPEND}
"
PATCHES=(
"${FILESDIR}/${PN}-2.0-fix-unordered-dense.patch"
"${FILESDIR}/${PN}-2.0-renamed-svlang.patch"
)
src_configure() {
python_setup
# SLANG_SHARED_LIB_NAME=svlang because of name collision