aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/APKBUILD
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-11-13 08:30:12 +0000
committerAriadne Conill <ariadne@dereferenced.org>2020-11-13 08:30:16 +0000
commit4fb14702447fb096ab3cb5d06684218250932077 (patch)
treef702a70c8ee659bb8f8e26386901def55e6c76c7 /main/gcc/APKBUILD
parent77984a660882c983894079887469727390089aff (diff)
downloadaports-4fb14702447fb096ab3cb5d06684218250932077.tar.gz
aports-4fb14702447fb096ab3cb5d06684218250932077.tar.bz2
aports-4fb14702447fb096ab3cb5d06684218250932077.tar.xz
main/gcc: fix up _gcclibdir and _gcclibexec paths when _pkgbase is used
Diffstat (limited to 'main/gcc/APKBUILD')
-rw-r--r--main/gcc/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index fadb844ac3..09b9a1f3af 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -197,8 +197,8 @@ source="https://dev.alpinelinux.org/~nenolod/gcc-10.2.1.tar.xz
# we build out-of-tree
_gccdir="$srcdir"/gcc-${_pkgbase:-$pkgver}
-_gcclibdir="/usr/lib/gcc/$CTARGET/$pkgver"
-_gcclibexec="/usr/libexec/gcc/$CTARGET/$pkgver"
+_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
+_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
prepare() {
cd "$_gccdir"