ponyc: update to 0.12.2

This commit is contained in:
Alessio Sergi 2017-03-31 11:23:35 +02:00
parent 0e33c42ff1
commit 7c3781d66c
2 changed files with 9 additions and 10 deletions

View file

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

View file

@ -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 <bougyman@voidlinux.eu>"
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 \