[arch-commits] Commit in gcc/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Feb 5 14:53:56 UTC 2020


    Date: Wednesday, February 5, 2020 @ 14:53:55
  Author: bpiotrowski
Revision: 374672

9.2.1+20200130-2: Use $_libdir instead of hardcoding base ver

Modified:
  gcc/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-05 14:51:50 UTC (rev 374671)
+++ PKGBUILD	2020-02-05 14:53:55 UTC (rev 374672)
@@ -9,7 +9,7 @@
 pkgver=9.2.1+20200130
 _majorver=${pkgver:0:1}
 _islver=0.21
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -148,7 +148,7 @@
   make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
 
   make -C $CHOST/libphobos DESTDIR="$pkgdir" install
-  rm -rf "$pkgdir"/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/d/
+  rm -rf "$pkgdir"/$_libdir/include/d/
   rm -f "$pkgdir"/usr/lib/libgphobos.spec
 
   for lib in libgomp \



More information about the arch-commits mailing list