Date: Thursday, November 21, 2013 @ 15:31:22
  Author: dicebot
Revision: 101272

upgpkg: gdc 4.8.2-2

gdc: add auto-generated module to target

Modified:
  gdc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-11-21 14:10:33 UTC (rev 101271)
+++ PKGBUILD    2013-11-21 14:31:22 UTC (rev 101272)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.2
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="https://github.com/D-Programming-GDC/GDC";
 license=('GPL')
@@ -82,7 +82,6 @@
 {
     pkgdesc="Standard library for D programming language, GDC port"
     provides=("d-runtime" "d-stdlib")
-    options=("staticlibs")
     depends=('gdc')
 
     # druntime
@@ -90,6 +89,12 @@
     cp -r $srcdir/gdc/libphobos/libdruntime/core 
$pkgdir/usr/include/dlang/gdc/$pkgver/core
     cp -r $srcdir/gdc/libphobos/libdruntime/gcc 
$pkgdir/usr/include/dlang/gdc/$pkgver/gcc
 
+    # workaround for auto-generated libbacktrace issue
+       # script needs to be re-written to first call normal gcc instalaltion 
targets to
+       # avoid such problems in future
+       cp $srcdir/gcc-build/$CHOST/libphobos/libdruntime/gcc/libbacktrace.d 
$pkgdir/usr/include/dlang/gdc/$pkgver/gcc
+       rm $pkgdir/usr/include/dlang/gdc/$pkgver/gcc/libbacktrace.d.in
+
     # phobos
     cp $srcdir/gdc/libphobos/src/crc32.d 
${pkgdir}/usr/include/dlang/gdc/$pkgver/crc32.d
     cp -r $srcdir/gdc/libphobos/src/std 
${pkgdir}/usr/include/dlang/gdc/$pkgver/std

Reply via email to