update to version 0.9.0.1, move docs and examples to appropriate places
testing/feedback by ajacoutot@ (macppc) and jasper@ (amd64, i386 and sparc64 which still fails to build), thanks!
This commit is contained in:
parent
90e0ef8365
commit
0afb2e5670
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2008/11/11 22:46:30 simon Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2009/02/04 10:15:14 simon Exp $
|
||||
|
||||
# sparc64 fails to build
|
||||
# others untested
|
||||
@ -9,12 +9,12 @@ VMEM_WARNING= Yes
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
DISTNAME= parrot-0.8.0
|
||||
DISTNAME= parrot-0.9.0.1
|
||||
CATEGORIES= lang perl6
|
||||
|
||||
HOMEPAGE= http://www.parrotcode.org/
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/P/PA/PARTICLE/}
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/C/CH/CHROMATIC/}
|
||||
|
||||
# Artistic2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -22,7 +22,7 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c m pthread util
|
||||
WANTLIB= c crypto m ncurses pthread readline util
|
||||
|
||||
LIB_DEPENDS= icudata,icuuc::textproc/icu4c
|
||||
REGRESS_DEPENDS= ::devel/p5-Test-Pod
|
||||
@ -33,7 +33,6 @@ CONFIGURE_ARGS+= --parrot_is_shared
|
||||
CONFIGURE_ARGS+= --icu-config=${LOCALBASE}/bin/icu-config
|
||||
|
||||
ALL_TARGET= installable ./perl6 compilers languages
|
||||
INSTALL_TARGET= reallyinstall
|
||||
REGRESS_TARGET= test
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
@ -49,4 +48,8 @@ CONFIGURE_ARGS+= --execcapable=0
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && cp src/jit/ppc/ppc-linux.s src/jit/ppc/ppc-openbsd.s
|
||||
|
||||
post-install:
|
||||
cd ${PREFIX}/share/doc/parrot && mv docs/* . && rmdir docs
|
||||
mv ${PREFIX}/share/doc/parrot/examples ${PREFIX}/share/examples/parrot
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (parrot-0.8.0.tar.gz) = Czd1ZCneyF4fau8fYTeBJw==
|
||||
RMD160 (parrot-0.8.0.tar.gz) = RJihh013B+NfdkFHOHon0XxM0GQ=
|
||||
SHA1 (parrot-0.8.0.tar.gz) = uqPgPVl93FHZ0kZh6S07NerMixY=
|
||||
SHA256 (parrot-0.8.0.tar.gz) = 3OTf7MPvZtl7NopDimAq64D4E5vr0bXvuDQnK6emvVc=
|
||||
SIZE (parrot-0.8.0.tar.gz) = 5376510
|
||||
MD5 (parrot-0.9.0.1.tar.gz) = FZWnjc7wwA03lzYyEm1vrg==
|
||||
RMD160 (parrot-0.9.0.1.tar.gz) = lv3F3Uzm1LHFIz3SQgMpfrZgy1s=
|
||||
SHA1 (parrot-0.9.0.1.tar.gz) = rUtZ21W7SvD+Zm4ZUlvSiFiYcTo=
|
||||
SHA256 (parrot-0.9.0.1.tar.gz) = fL3MGQDHfJRvPlvd18Tx54sqC7rLEwW5s7rjDj1WzTU=
|
||||
SIZE (parrot-0.9.0.1.tar.gz) = 5441032
|
||||
|
23
lang/parrot/patches/patch-config_init_hints_openbsd_pm
Normal file
23
lang/parrot/patches/patch-config_init_hints_openbsd_pm
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-config_init_hints_openbsd_pm,v 1.1 2009/02/04 10:15:14 simon Exp $
|
||||
|
||||
Prevent linking with -lpthread, ticket filed upstream at
|
||||
https://trac.parrot.org/parrot/ticket/265
|
||||
|
||||
--- config/init/hints/openbsd.pm.orig Mon Dec 29 11:15:20 2008
|
||||
+++ config/init/hints/openbsd.pm Mon Dec 29 11:16:20 2008
|
||||
@@ -15,11 +15,15 @@ sub runstep {
|
||||
}
|
||||
$conf->data->set( ccflags => $ccflags );
|
||||
|
||||
+=for comment
|
||||
+
|
||||
my $libs = $conf->data->get('libs');
|
||||
if ( $libs !~ /-lpthread/ ) {
|
||||
$libs .= ' -lpthread';
|
||||
}
|
||||
$conf->data->set( libs => $libs );
|
||||
+
|
||||
+=cut
|
||||
|
||||
if ( ( split( m/-/, $conf->data->get_p5('archname'), 2 ) )[0] eq 'powerpc' ) {
|
||||
$conf->data->set( as => 'as -mregnames' );
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user