ponyc: update to 0.24.0

This commit is contained in:
Brian Mitchell 2018-06-18 11:38:13 -04:00 committed by Jürgen Buchmüller
parent 0ce9d4f54f
commit 8c70e8b7b3
2 changed files with 7 additions and 17 deletions

View File

@ -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)\" \

View File

@ -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 <bougyman@voidlinux.eu>"
license="2-clause-BSD"
homepage="http://ponylang.org/"
maintainer="Brian Mitchell <brian@strmpnk.co>"
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 \