parrot: _CALL_ELF is undefined on powerpc, force it as ELFv1.

While here, refresh WANTLIB and fix a trailing whitespace.

OK landry@
This commit is contained in:
cwen 2019-10-17 14:03:55 +00:00
parent affc073e7b
commit 7bb85765c9
2 changed files with 11 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.47 2019/07/12 20:47:21 sthen Exp $
# $OpenBSD: Makefile,v 1.48 2019/10/17 14:03:55 cwen Exp $
COMMENT= virtual machine designed for interpreted languages
V= 7.10.0
DISTNAME= parrot-$V
REVISION= 7
REVISION= 8
CATEGORIES= lang perl6
SHARED_LIBS= parrot 11.0
@ -16,10 +16,10 @@ MASTER_SITES= http://ftp.parrot.org/releases/all/$V/ \
# Artistic2
PERMIT_PACKAGE= Yes
WANTLIB += GL GLU c glut gmp iconv icudata icuuc intl m ncurses pthread
WANTLIB += readline ${COMPILER_LIBCXX} util z ffi
WANTLIB += ${COMPILER_LIBCXX} GL GLU c ffi glut gmp icudata icuuc
WANTLIB += intl m readline z
COMPILER = base-clang ports-gcc base-gcc
COMPILER = base-clang ports-gcc
BUILD_DEPENDS= graphics/glew \
devel/pcre
@ -56,6 +56,11 @@ TEST_TARGET= fulltest
SUBST_VARS += V
# fix for error: "_CALL_ELF" is not defined, evaluates to 0
.if ${MACHINE_ARCH:Mpowerpc}
CFLAGS += -D_CALL_ELF=1
.endif
pre-configure:
${SUBST_CMD} ${WRKSRC}/config/init/hints/openbsd.pm

View File

@ -1,4 +1,4 @@
Parrot is a virtual machine designed with the needs of dynamically typed
languages (such as Perl and Python) in mind, and should be able to run
programs written in these languages more efficiently than VMs developed
with static languages in mind (JVM, .NET).
with static languages in mind (JVM, .NET).