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

Filipe Laíns ffy00 at archlinux.org
Wed Aug 29 23:39:52 UTC 2018


    Date: Wednesday, August 29, 2018 @ 23:39:52
  Author: ffy00
Revision: 375410

fix D include dir

Modified:
  gdc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-29 23:36:41 UTC (rev 375409)
+++ PKGBUILD	2018-08-29 23:39:52 UTC (rev 375410)
@@ -13,7 +13,6 @@
 _branch=gdc-8-stable
 _islver=0.19
 _gccver=8.2.0-RC-20180719
-_d_ver=''
 pkgrel=1
 arch=('x86_64')
 license=('GPL3')
@@ -33,6 +32,7 @@
             '841504e9dffe718f7e5a5fbbf03299f2b51acd783d47f99894aa5d411abcc56aedfffd4b16595e3a9446f2206f9eb29cb01e235e82c211796cd24dc23c02b578')
 
 pkgver() {
+  _d_ver_=''
   if [ -f gcc/d/verstr.h ]; then
     _d_ver="+$(cat gcc/d/verstr.h | sed 's|\"||g')"
   elif [ -f gcc/d/VERSION ]; then
@@ -100,7 +100,7 @@
                           --enable-default-ssp \
                           --with-bugurl=https://bugs.archlinux.org/ \
                           --with-pkgversion="GDC ${pkgver%+*} based on D v${pkgver#*+} built with ISL $_isl for Arch Linux" \
-                          gdc_include_dir=/usr/include/dlang/gdc
+                          --gdc_include_dir=/usr/include/dlang/gdc
 
                           #--enable-gold \
 



More information about the arch-commits mailing list