diff options
author | wiz <wiz@pkgsrc.org> | 2006-01-09 17:47:07 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-01-09 17:47:07 +0000 |
commit | adbe8ee504d171c5c78ddc1da04cee7c2e8366fb (patch) | |
tree | 9a83fd523a94f0ab5d0d04167b9758ec426a3fbb /lang/parrot/Makefile | |
parent | 2c5d66057e4f16040ad5b2cad2f0405696255810 (diff) | |
download | pkgsrc-adbe8ee504d171c5c78ddc1da04cee7c2e8366fb.tar.gz |
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 (limited to 'lang/parrot/Makefile')
-rw-r--r-- | lang/parrot/Makefile | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/lang/parrot/Makefile b/lang/parrot/Makefile index ed9a461be7a..8e2858f514d 100644 --- a/lang/parrot/Makefile +++ b/lang/parrot/Makefile @@ -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 @@ MAINTAINER= debolaz@gmail.com HOMEPAGE= http://www.parrotcode.org/ COMMENT= Virtual machine made to run Perl 6 and other languages -USE_TOOLS+= gmake perl - -BUILD_TARGET= world_shared +USE_TOOLS+= perl +PTHREAD_OPTS+= require +BUILD_TARGET= world +TEST_TARGET= test +.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 @@ do-configure: 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" |