mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
sci-electronics/slang: fix pkgconfig
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
19
sci-electronics/slang/files/slang-2.0-fix-pkgconfig.patch
Normal file
19
sci-electronics/slang/files/slang-2.0-fix-pkgconfig.patch
Normal 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
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user