pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/parrot Update to 0.4.1, from Anders Nor Berle in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58bc4829b262
branches:  trunk
changeset: 505934:58bc4829b262
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jan 09 17:47:07 2006 +0000

description:
Update to 0.4.1, from Anders Nor Berle in PR 32480.

New in 0.4.1

- Installation: 'make install' is using standard locations now
  (/usr/local is the default --prefix)
- Produce static and shared libraries on some systems
- Configure system rearragement
- OS pmc started (mkdir,cd,cwd,rm,umask,stat)
- Shootout examples
- Test files are now testable with 'prove'
- Smoke (and smokej) outputs progress
- PIR supports: I = A < B (>,<=,>=,==,!=)
- Add support for octal number constants
- partcl updates:
  - almost finish [string]; start [file]
  - add build tool for generating inline'd tcl builtins from templates.
- Jako updates: NCI, subroutines, global variables and constants all work.
  (Gregor)

Failed 3/190 test scripts, 98.42% okay. 15/4580 subtests failed, 99.67% okay.

diffstat:

 lang/parrot/Makefile         |   31 +-
 lang/parrot/PLIST            |  923 +++++++++++++++++++++---------------------
 lang/parrot/distinfo         |   15 +-
 lang/parrot/patches/patch-aa |  180 +------
 lang/parrot/patches/patch-ab |   93 +--
 lang/parrot/patches/patch-ac |   24 +-
 6 files changed, 559 insertions(+), 707 deletions(-)

diffs (truncated from 1333 to 300 lines):

diff -r eacb61636acc -r 58bc4829b262 lang/parrot/Makefile
--- a/lang/parrot/Makefile      Mon Jan 09 17:43:58 2006 +0000
+++ b/lang/parrot/Makefile      Mon Jan 09 17:47:07 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2006/01/03 19:25:06 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2006/01/09 17:47:07 wiz Exp $
 #
 
-DISTNAME=              parrot-0.4.0
+DISTNAME=              parrot-0.4.1
 CATEGORIES=            lang
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=../by-authors/id/L/LT/LTOETSCH/}
 
@@ -9,18 +9,19 @@
 HOMEPAGE=              http://www.parrotcode.org/
 COMMENT=               Virtual machine made to run Perl 6 and other languages
 
-USE_TOOLS+=            gmake perl
+USE_TOOLS+=            perl
+PTHREAD_OPTS+=         require
+BUILD_TARGET=          world
+TEST_TARGET=           test
 
-BUILD_TARGET=          world_shared
-
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.prefs.mk"
 
-CONFIGURE_ARGS+=       --prefix=${PREFIX}/parrot \
-                       --icu-config=${PREFIX}/bin/icu-config \
-                       --verbose
+CONFIGURE_ARGS+=       --prefix=${PREFIX:Q} \
+                       --icu-config=${PREFIX}/bin/icu-config
 
 # If you have another architecture, please test if it can compile
-# with jit support and report status to the maintainer.
+# with (working) jit support and report status to the maintainer.
 
 .if ${MACHINE_ARCH} == "i386"
 CONFIGURE_ARGS+=       --jitcapable \
@@ -32,13 +33,19 @@
 
 post-configure:
        ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
-       ${SED}  -e '/^BIN_DIR/s|$$(EXEC_PREFIX)|${PREFIX}|' \
-               -e '/^INCLUDE_DIR/s|$$(EXEC_PREFIX)/include|${PREFIX}|' \
+       ${SED}  -e 's|-pthread||g' \
+               -e 's|-lpthread||g' \
+               -e 's|-lc_r||g' \
+               -e '/^CFLAGS /s|$$|${PTHREAD_CFLAGS}|' \
+               -e '/^LINKFLAGS /s|$$|${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}|' \
+               -e '/^LDFLAGS /s|$$|${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}|' \
                < ${WRKSRC}/Makefile.orig \
                > ${WRKSRC}/Makefile
 
 post-install:
-       ${INSTALL_LIB} ${WRKSRC}/blib/lib/libparrot.* ${PREFIX}/lib
+       if [ -e ${PREFIX}/lib/libparrot.so.${PKGVERSION} ]; then \
+               ${LN} -s libparrot.so.${PKGVERSION} ${PREFIX}/lib/libparrot.so ; \
+       fi
 
 .include "../../textproc/icu/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r eacb61636acc -r 58bc4829b262 lang/parrot/PLIST
--- a/lang/parrot/PLIST Mon Jan 09 17:43:58 2006 +0000
+++ b/lang/parrot/PLIST Mon Jan 09 17:47:07 2006 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2006/01/03 19:25:06 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/01/09 17:47:07 wiz Exp $
 bin/disassemble
 bin/parrot
+bin/parrot-config
 bin/pbc_info
 bin/pbc_merge
 bin/pdb
@@ -92,473 +93,457 @@
 lib/libparrot.a
 lib/libparrot.so
 lib/libparrot.so.${PKGVERSION}
-parrot/LICENSES/Artistic
-parrot/LICENSES/gpl.txt
-parrot/NEWS
-parrot/PBC_COMPAT
-parrot/PLATFORMS
-parrot/README
-parrot/README.win32
-parrot/RESPONSIBLE_PARTIES
-parrot/TODO
-parrot/VERSION
-parrot/docs/debugger.pod
-parrot/docs/dev/byteorder.dev
-parrot/docs/dev/jit_${MACHINE_ARCH}.dev
-parrot/docs/dev/longopt.dev
-parrot/docs/dev/nanoparrot.c
-parrot/docs/dev/optimizer.pod
-parrot/docs/embed.pod
-parrot/docs/extend.pod
-parrot/docs/faq.pod
-parrot/docs/gettingstarted.pod
-parrot/docs/glossary.pod
-parrot/docs/intro.pod
-parrot/docs/jit.pod
-parrot/docs/memory_internals.pod
-parrot/docs/mmd.pod
-parrot/docs/native_exec.pod
-parrot/docs/ops/bit.pod
-parrot/docs/ops/cmp.pod
-parrot/docs/ops/core.pod
-parrot/docs/ops/debug.pod
-parrot/docs/ops/dotgnu.pod
-parrot/docs/ops/experimental.pod
-parrot/docs/ops/io.pod
-parrot/docs/ops/math.pod
-parrot/docs/ops/object.pod
-parrot/docs/ops/obscure.pod
-parrot/docs/ops/pic.pod
-parrot/docs/ops/pmc.pod
-parrot/docs/ops/python.pod
-parrot/docs/ops/set.pod
-parrot/docs/ops/stack.pod
-parrot/docs/ops/string.pod
-parrot/docs/ops/sys.pod
-parrot/docs/ops/var.pod
-parrot/docs/overview.pod
-parrot/docs/parrot.pod
-parrot/docs/parrotbyte.pod
-parrot/docs/pdds/README
-parrot/docs/pdds/clip/pdd01_overview.pod
-parrot/docs/pdds/clip/pdd02_vtables.pod
-parrot/docs/pdds/clip/pdd04_datatypes.pod
-parrot/docs/pdds/clip/pdd05_opfunc.pod
-parrot/docs/pdds/clip/pdd06_pasm.pod
-parrot/docs/pdds/clip/pdd07_codingstd.pod
-parrot/docs/pdds/clip/pdd08_keys.pod
-parrot/docs/pdds/clip/pdd09_gc.pod
-parrot/docs/pdds/clip/pdd10_embedding.pod
-parrot/docs/pdds/clip/pdd11_extending.pod
-parrot/docs/pdds/clip/pdd12_assembly.pod
-parrot/docs/pdds/clip/pdd13_bytecode.pod
-parrot/docs/pdds/clip/pdd14_bignum.pod
-parrot/docs/pdds/clip/pdd15_objects.pod
-parrot/docs/pdds/clip/pdd16_native_call.pod
-parrot/docs/pdds/clip/pdd17_basic_types.pod
-parrot/docs/pdds/clip/pdd18_security.pod
-parrot/docs/pdds/clip/pdd19_pir.pod
-parrot/docs/pdds/pdd00_pdd.pod
-parrot/docs/pdds/pdd03_calling_conventions.pod
-parrot/docs/pdds/pdd20_lexical_vars.pod
-parrot/docs/pdds/pdd_template.pod
-parrot/docs/pmc.pod
-parrot/docs/pmc/array.pod
-parrot/docs/pmc/iterator.pod
-parrot/docs/pmc/perlarray.pod
-parrot/docs/pmc/perlhash.pod
-parrot/docs/pmc/perlstring.pod
-parrot/docs/pmc/struct.pod
-parrot/docs/pmc/subs.pod
-parrot/docs/porting_intro.pod
-parrot/docs/practical_notes.pod
-parrot/docs/req/model_users.pod
-parrot/docs/resources/favicon.ico
-parrot/docs/resources/parrot.small.png
-parrot/docs/resources/perl.css
-parrot/docs/resources/up.gif
-parrot/docs/running.pod
-parrot/docs/strings.pod
-parrot/docs/submissions.pod
-parrot/docs/tests.pod
-parrot/docs/vtables.pod
-parrot/dynclasses/dynlexpad.pmc
-parrot/examples/README
-parrot/examples/benchmarks/addit.imc
-parrot/examples/benchmarks/addit.pasm
-parrot/examples/benchmarks/addit.pl
-parrot/examples/benchmarks/addit.rb
-parrot/examples/benchmarks/addit2.imc
-parrot/examples/benchmarks/array_access.imc
-parrot/examples/benchmarks/arriter.imc
-parrot/examples/benchmarks/arriter.pl
-parrot/examples/benchmarks/arriter.rb
-parrot/examples/benchmarks/arriter_o1.imc
-parrot/examples/benchmarks/bench_newp.pasm
-parrot/examples/benchmarks/fib.imc
-parrot/examples/benchmarks/fib.pl
-parrot/examples/benchmarks/fib.py
-parrot/examples/benchmarks/fib.rb
-parrot/examples/benchmarks/freeze.pasm
-parrot/examples/benchmarks/freeze.pl
-parrot/examples/benchmarks/gc_alloc_new.pasm
-parrot/examples/benchmarks/gc_alloc_reuse.pasm
-parrot/examples/benchmarks/gc_generations.pasm
-parrot/examples/benchmarks/gc_header_new.pasm
-parrot/examples/benchmarks/gc_header_reuse.pasm
-parrot/examples/benchmarks/gc_waves_headers.pasm
-parrot/examples/benchmarks/gc_waves_sizeable_data.pasm
-parrot/examples/benchmarks/gc_waves_sizeable_headers.pasm
-parrot/examples/benchmarks/mops.pasm
-parrot/examples/benchmarks/mops.pl
-parrot/examples/benchmarks/mops_intval.pasm
-parrot/examples/benchmarks/oo1.pasm
-parrot/examples/benchmarks/oo1.pl
-parrot/examples/benchmarks/oo1.py
-parrot/examples/benchmarks/oo1.rb
-parrot/examples/benchmarks/oo2.pasm
-parrot/examples/benchmarks/oo2.pl
-parrot/examples/benchmarks/oo2.py
-parrot/examples/benchmarks/oo2.rb
-parrot/examples/benchmarks/oo3.pasm
-parrot/examples/benchmarks/oo3.pl
-parrot/examples/benchmarks/oo3.py
-parrot/examples/benchmarks/oo3.rb
-parrot/examples/benchmarks/oo4.pasm
-parrot/examples/benchmarks/oo4.pl
-parrot/examples/benchmarks/oo4.py
-parrot/examples/benchmarks/oo4.rb
-parrot/examples/benchmarks/oo5.imc
-parrot/examples/benchmarks/oo5.pl
-parrot/examples/benchmarks/oo5.py
-parrot/examples/benchmarks/oo5.rb
-parrot/examples/benchmarks/oo6.imc
-parrot/examples/benchmarks/oo6.pl
-parrot/examples/benchmarks/oo6.py
-parrot/examples/benchmarks/oo6.rb
-parrot/examples/benchmarks/oofib.imc
-parrot/examples/benchmarks/oofib.pl
-parrot/examples/benchmarks/oofib.py
-parrot/examples/benchmarks/oofib.rb
-parrot/examples/benchmarks/oon.txt
-parrot/examples/benchmarks/overload.imc
-parrot/examples/benchmarks/overload.pl
-parrot/examples/benchmarks/primes.c
-parrot/examples/benchmarks/primes.pasm
-parrot/examples/benchmarks/primes.pl
-parrot/examples/benchmarks/primes2.c
-parrot/examples/benchmarks/primes2.pasm
-parrot/examples/benchmarks/primes2.pl
-parrot/examples/benchmarks/primes2.py
-parrot/examples/benchmarks/primes2.rb
-parrot/examples/benchmarks/primes2_i.pasm
-parrot/examples/benchmarks/primes_i.pasm
-parrot/examples/benchmarks/shared_ref.pasm
-parrot/examples/benchmarks/shared_ref.pl
-parrot/examples/benchmarks/stress.pasm
-parrot/examples/benchmarks/stress.pl
-parrot/examples/benchmarks/stress.rb
-parrot/examples/benchmarks/stress1.pasm
-parrot/examples/benchmarks/stress1.pl
-parrot/examples/benchmarks/stress2.pasm
-parrot/examples/benchmarks/stress2.pl
-parrot/examples/benchmarks/stress2.rb
-parrot/examples/benchmarks/stress3.pasm
-parrot/examples/benchmarks/vpm.imc
-parrot/examples/benchmarks/vpm.pl
-parrot/examples/benchmarks/vpm.py
-parrot/examples/benchmarks/vpm.rb
-parrot/examples/c/test_main.c
-parrot/examples/compilers/Makefile
-parrot/examples/compilers/japhc.c
-parrot/examples/io/echo_client.imc
-parrot/examples/io/http.imc
-parrot/examples/io/httpd.imc
-parrot/examples/io/net_smtp.pasm
-parrot/examples/io/pioctl.pasm
-parrot/examples/io/pipe2.imc
-parrot/examples/io/pipe3.imc
-parrot/examples/japh/README
-parrot/examples/japh/japh1.pasm
-parrot/examples/japh/japh10.pasm
-parrot/examples/japh/japh11.pasm
-parrot/examples/japh/japh12.pasm
-parrot/examples/japh/japh13.pasm
-parrot/examples/japh/japh14.pasm
-parrot/examples/japh/japh15.pasm
-parrot/examples/japh/japh16.pasm
-parrot/examples/japh/japh17.pasm
-parrot/examples/japh/japh2.pasm
-parrot/examples/japh/japh3.pasm
-parrot/examples/japh/japh4.pasm
-parrot/examples/japh/japh5.pasm
-parrot/examples/japh/japh6.pasm
-parrot/examples/japh/japh7.pasm
-parrot/examples/japh/japh8.pasm
-parrot/examples/japh/japh9.pasm
-parrot/examples/library/acorn.l
-parrot/examples/library/getopt_demo.pir
-parrot/examples/library/md5sum.pir
-parrot/examples/library/ncurses_life.imc
-parrot/examples/library/pcre.pir
-parrot/examples/mops/README
-parrot/examples/mops/mops.c
-parrot/examples/mops/mops.cs
-parrot/examples/mops/mops.il
-parrot/examples/mops/mops.p6
-parrot/examples/mops/mops.pl
-parrot/examples/mops/mops.ps
-parrot/examples/mops/mops.py
-parrot/examples/mops/mops.rb
-parrot/examples/mops/mops.scheme
-parrot/examples/pasm/99beer.pasm
-parrot/examples/pasm/cat.pasm



Home | Main Index | Thread Index | Old Index