From 8c70e8b7b37d5d43232d506430cd28237794bced Mon Sep 17 00:00:00 2001 From: Brian Mitchell Date: Mon, 18 Jun 2018 11:38:13 -0400 Subject: [PATCH] ponyc: update to 0.24.0 --- srcpkgs/ponyc/patches/fix-pie.patch | 11 ----------- srcpkgs/ponyc/template | 13 +++++++------ 2 files changed, 7 insertions(+), 17 deletions(-) delete mode 100644 srcpkgs/ponyc/patches/fix-pie.patch diff --git a/srcpkgs/ponyc/patches/fix-pie.patch b/srcpkgs/ponyc/patches/fix-pie.patch deleted file mode 100644 index 4bb0cb0706b..00000000000 --- a/srcpkgs/ponyc/patches/fix-pie.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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) -mtune=$(tune) -Werror -Wconversion \ - -Wno-sign-conversion -Wextra -Wall --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 40c20875c23..1ce5c4445d2 100644 --- a/srcpkgs/ponyc/template +++ b/srcpkgs/ponyc/template @@ -1,21 +1,22 @@ # Template file for 'ponyc' pkgname=ponyc -version=0.20.0 +version=0.24.0 revision=1 only_for_archs="x86_64" build_style=gnu-makefile hostmakedepends="llvm3.9" makedepends="zlib-devel ncurses-devel libatomic-devel" short_desc="OO, actor-model, capabilities-secure, high-performance language" -maintainer="bougyman " -license="2-clause-BSD" -homepage="http://ponylang.org/" +maintainer="Brian Mitchell " +license="BSD-2-Clause" +homepage="https://ponylang.org/" distfiles="https://github.com/ponylang/ponyc/archive/${version}.tar.gz" -checksum=f2be4b11714113eb506e1fcd4b7fdb6f6f84abc73291156a34b4e76abcb77866 +checksum=840d8fb161c679d20650a80167b43adda8bdb5d7538d9377273e08d9e2d01fcd do_build() { - make config=release destdir=/usr/lib/pony/${version} prefix=/usr + make config=release default_pic=true } + 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 \