From 75987e9e622ff989b400624d3b3305566e618883 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Sun, 28 Mar 2021 14:35:18 -0700 Subject: [PATCH] dmd-bootstrap: fix template Also changes here-doc style to satisfy xlint. --- srcpkgs/dmd-bootstrap/template | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/dmd-bootstrap/template b/srcpkgs/dmd-bootstrap/template index 2de0cf45fd9e..44ad3bb1f1b4 100644 --- a/srcpkgs/dmd-bootstrap/template +++ b/srcpkgs/dmd-bootstrap/template @@ -1,17 +1,16 @@ # Template file for 'dmd-bootstrap' pkgname=dmd-bootstrap version=2.069.20180305 -revision=2 +revision=3 _gitrev_dmd=75266348c8a2368945a339ab86d7c8960a9bfc08 _gitrev_druntime=33ae38cef41564b12864470afaf8430eb7334d3b _gitrev_phobos=30ac23a0889dd183221ce531a057171dd45296c4 +archs="x86_64* i686*" create_wrksrc=yes build_style=gnu-makefile -provides="d-compiler-${version}_${revision}" -archs="x86_64* i686*" short_desc="DMD Compiler (last C++ version for bootstrap)" maintainer="Yuxuan Shui " -license="custom" +license="BSL-1.0" homepage="https://dlang.org/" distfiles=" https://github.com/dlang/dmd/archive/${_gitrev_dmd}.tar.gz>dmd-${version}.tar.gz @@ -21,6 +20,7 @@ checksum=" 015ad5ce9d60bc183b9b40ae649eafeced93cb2a211400d9280464b22acdb129 7f4d84f2b5252c0cc33bffbb4de8aab9321df844b8512e27e90267cbb9bc7422 57306f80a63b83b755043d05e85e83cf3178701c92d295c97d1a5a8be8ffce19" +provides="d-compiler-${version}_${revision}" post_extract() { rm -rf dmd druntime phobos @@ -56,9 +56,9 @@ do_install() { vbin dmd vmkdir etc - cat > $DESTDIR/etc/dmd.conf < $DESTDIR/etc/dmd.conf <<- EOF + [Environment] + DFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib${XBPS_TARGET_WRODSIZE} -L--export-dynamic EOF vlicense backendlicense.txt