Received: from wolfsden.cz (wolfsden.cz [37.205.8.62]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 85735780EDC for <~alpine/aports@lists.alpinelinux.org>; Wed, 19 Feb 2020 00:04:50 +0000 (UTC) Received: by wolfsden.cz (Postfix, from userid 110) id 411401BBFCB; Wed, 19 Feb 2020 00:04:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_ALL autolearn=no autolearn_force=no version=3.4.2 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id F387A1BC0CC; Wed, 19 Feb 2020 00:04:48 +0000 (UTC) From: Wolf To: ~alpine/aports@lists.alpinelinux.org Cc: Wolf Subject: [PATCH] Provide symlinks for lua's .pc files Date: Wed, 19 Feb 2020 01:04:43 +0100 Message-Id: <20200219000443.290506-1-wolf@wolfsden.cz> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Debian provides multiple aliases for lua's pkg-config package. In interest of compatibility, we should do the same. This commit introduces symlinks for lua53, lua-5.3, lua52 and lua-5.2 to match what debian provides. --- main/lua5.2/APKBUILD | 6 +++++- main/lua5.3/APKBUILD | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/main/lua5.2/APKBUILD b/main/lua5.2/APKBUILD index e5df917276..9f1464b354 100644 --- a/main/lua5.2/APKBUILD +++ b/main/lua5.2/APKBUILD @@ -119,7 +119,11 @@ Cflags: -I\${includedir} # (end of lua$_luaver.pc) EOF - + # lua52.pc -> lua5.2.pc + ln -s lua$_luaver.pc \ + "$pkgdir"/usr/lib/pkgconfig/lua$(echo $_luaver | tr -d . ).pc + # lua-5.2.pc -> lua5.2.pc + ln -s lua$_luaver.pc "$pkgdir"/usr/lib/pkgconfig/lua-$_luaver.pc } dev() { diff --git a/main/lua5.3/APKBUILD b/main/lua5.3/APKBUILD index b1baf7b75a..6825dc68a6 100644 --- a/main/lua5.3/APKBUILD +++ b/main/lua5.3/APKBUILD @@ -120,7 +120,11 @@ package() { # (end of lua$_luaver.pc) EOF - + # lua53.pc -> lua5.3.pc + ln -s lua$_luaver.pc \ + "$pkgdir"/usr/lib/pkgconfig/lua$(echo $_luaver | tr -d . ).pc + # lua-5.3.pc -> lua5.3.pc + ln -s lua$_luaver.pc "$pkgdir"/usr/lib/pkgconfig/lua-$_luaver.pc } dev() { -- 2.25.0