Update gravity to 0.3.6 -- among bugfixes, also adds an internal math lib

and is now C99 instead of C11.
This commit is contained in:
bcallah 2017-10-11 20:42:36 +00:00
parent 96e048b6fa
commit 6284b5c00d
2 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.3 2017/08/30 04:23:28 bcallah Exp $
# $OpenBSD: Makefile,v 1.4 2017/10/11 20:42:36 bcallah Exp $
V = 0.3.0
V = 0.3.6
COMMENT = small, high performance language with a modern syntax
DISTNAME = gravity-${V}
CATEGORIES = lang
@ -17,15 +17,13 @@ PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m
# Needs C11
COMPILER = base-clang ports-clang ports-gcc
COMPILER_LANGS = c
USE_GMAKE = Yes
pre-configure:
sed -i -e 's,-O2,${CFLAGS},g' -e 's,-std=gnu99,-std=gnu11,g' \
${WRKSRC}/Makefile ${WRKSRC}/api/Makefile
sed -i 's,-O2,${CFLAGS},g' ${WRKSRC}/Makefile ${WRKSRC}/api/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gravity ${PREFIX}/bin

View File

@ -1,2 +1,2 @@
SHA256 (gravity-0.3.0.tar.gz) = g9oEuhDeIbfdTp7KPnu0MakSyc/PPy05jOeSxmoOlRM=
SIZE (gravity-0.3.0.tar.gz) = 991244
SHA256 (gravity-0.3.6.tar.gz) = D8+8xq9zVNhcK65ZMSahLklUrciWh+WEMKUEKUFC2rw=
SIZE (gravity-0.3.6.tar.gz) = 883353