From 7c3781d66c0a71dff8010ef8449b1dc1177a9438 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 31 Mar 2017 11:23:35 +0200 Subject: [PATCH] ponyc: update to 0.12.2 --- srcpkgs/ponyc/patches/fix-pie.patch | 12 ++++++------ srcpkgs/ponyc/template | 7 +++---- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/srcpkgs/ponyc/patches/fix-pie.patch b/srcpkgs/ponyc/patches/fix-pie.patch index 0aed20bb26d..4bb0cb0706b 100644 --- a/srcpkgs/ponyc/patches/fix-pie.patch +++ b/srcpkgs/ponyc/patches/fix-pie.patch @@ -1,11 +1,11 @@ ---- Makefile.orig 2016-11-11 22:56:59.000000000 +0000 -+++ Makefile 2016-12-15 11:01:02.068138423 +0000 -@@ -93,7 +93,7 @@ +--- Makefile.orig 2017-03-30 18:27:39.852065849 +0200 ++++ Makefile 2017-03-30 18:28:08.953702029 +0200 +@@ -81,7 +81,7 @@ LIB_EXT ?= a - BUILD_FLAGS = -march=$(arch) -Werror -Wconversion \ + BUILD_FLAGS = -march=$(arch) -mtune=$(tune) -Werror -Wconversion \ -Wno-sign-conversion -Wextra -Wall --LINKER_FLAGS = -march=$(arch) -+LINKER_FLAGS = -march=$(arch) $(LDFLAGS) +-LINKER_FLAGS = -march=$(arch) -mtune=$(tune) ++LINKER_FLAGS = -march=$(arch) -mtune=$(tune) $(LDFLAGS) AR_FLAGS ?= rcs ALL_CFLAGS = -std=gnu11 -fexceptions \ -DPONY_VERSION=\"$(tag)\" -DLLVM_VERSION=\"$(llvm_version)\" \ diff --git a/srcpkgs/ponyc/template b/srcpkgs/ponyc/template index c5a86967426..c653c0f1159 100644 --- a/srcpkgs/ponyc/template +++ b/srcpkgs/ponyc/template @@ -1,6 +1,6 @@ # Template file for 'ponyc' pkgname=ponyc -version=0.11.3 +version=0.12.2 revision=1 only_for_archs="x86_64" build_style=gnu-makefile @@ -8,15 +8,14 @@ hostmakedepends="llvm" makedepends="zlib-devel ncurses-devel" short_desc="OO, actor-model, capabilities-secure, high-performance language" maintainer="bougyman " -license="BSD" +license="2-clause-BSD" homepage="http://ponylang.org/" distfiles="https://github.com/CausalityLtd/ponyc/archive/${version}.tar.gz" -checksum=0b88009c636669192baee71589cd37885fe0f39bd24008ccc20780d925c18a2c +checksum=a42554d972ce24c466c154556ba109d18c75909ec2d8ab6ecd23f63b6fcbc35a do_build() { make config=release destdir=/usr/lib/pony/${version} prefix=/usr } - do_install() { make config=release destdir=${DESTDIR}/usr/lib/pony/${version} prefix=${DESTDIR}/usr install rm ${DESTDIR}/usr/bin/ponyc ${DESTDIR}/usr/lib/libponyrt.a \