Date: Mon, 2 Sep 2013 17:17:28 +0000 (UTC) From: Ruslan Makhmatkhanov <rm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326040 - in head/devel/lightning: . files Message-ID: <201309021717.r82HHSwr004986@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Mon Sep 2 17:17:28 2013 New Revision: 326040 URL: http://svnweb.freebsd.org/changeset/ports/326040 Log: - update to 2.0.0 release notes: https://lists.gnu.org/archive/html/lightning/2013-08/msg00000.html PR: 181648 Submitted by: Vitaly Magerya <vmagerya@gmail.com> Added: head/devel/lightning/files/ head/devel/lightning/files/patch-configure (contents, props changed) head/devel/lightning/files/patch-include-lightning.h (contents, props changed) Modified: head/devel/lightning/Makefile (contents, props changed) head/devel/lightning/distinfo (contents, props changed) head/devel/lightning/pkg-descr (contents, props changed) head/devel/lightning/pkg-plist (contents, props changed) Modified: head/devel/lightning/Makefile ============================================================================== --- head/devel/lightning/Makefile Mon Sep 2 17:12:11 2013 (r326039) +++ head/devel/lightning/Makefile Mon Sep 2 17:17:28 2013 (r326040) @@ -1,25 +1,38 @@ -# ex:ts=8 -# Ports collection makefile for: lightning -# Date created: May 9, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= lightning -PORTVERSION= 1.2 +PORTVERSION= 2.0.0 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITES= GNU MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Generates assembly language code at run-time -ONLY_FOR_ARCHS= i386 sparc64 powerpc +OPTIONS_DEFINE= ASSERTIONS +ASSERTIONS_DESC=Enable runtime code generation assertions +ONLY_FOR_ARCHS= i386 amd64 arm ia64 powerpc sparc64 mips + +USE_LDCONFIG= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-disassembler=no + +PLIST_SUB+= JIT_ARCH=${ARCH:S/i386/x86/:S/amd64/x86/:S/sparc64/sparc/:S/powerpc/ppc/} -MAN1= lightningize.1 INFO= lightning +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MASSERTIONS} +CONFIGURE_ARGS+=--enable-assertions=yes +.else +CONFIGURE_ARGS+=--enable-assertions=no +.endif + +regression-test: build + (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ + ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) + .include <bsd.port.mk> Modified: head/devel/lightning/distinfo ============================================================================== --- head/devel/lightning/distinfo Mon Sep 2 17:12:11 2013 (r326039) +++ head/devel/lightning/distinfo Mon Sep 2 17:17:28 2013 (r326040) @@ -1,2 +1,2 @@ -SHA256 (lightning-1.2.tar.gz) = d16a9f12441f297f7524917bfc97501a8600a93eb9c46d2a7e2a16e5caf11511 -SIZE (lightning-1.2.tar.gz) = 403274 +SHA256 (lightning-2.0.0.tar.gz) = e41736c5c6c40eeb194e3f9fec3209e86f07f9471d0aacc5d35c1c8e55621054 +SIZE (lightning-2.0.0.tar.gz) = 852571 Added: head/devel/lightning/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lightning/files/patch-configure Mon Sep 2 17:17:28 2013 (r326040) @@ -0,0 +1,19 @@ +--- configure.orig 2013-08-23 21:12:43.000000000 +0300 ++++ configure 2013-08-25 15:53:56.000000000 +0300 +@@ -11650,6 +11650,7 @@ + fi + + case "$host_os" in ++ *freebsd*) SHLIB="" ;; + *hpux*) SHLIB="-ldld" ;; + *) SHLIB="-ldl" ;; + esac +@@ -11657,7 +11658,7 @@ + + cpu= + case "$target_cpu" in +- i?86|x86_64) cpu=x86 ;; ++ i?86|x86_64|amd64) cpu=x86 ;; + *arm*) cpu=arm ;; + *mips*) cpu=mips ;; + *powerpc*) cpu=ppc ;; Added: head/devel/lightning/files/patch-include-lightning.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lightning/files/patch-include-lightning.h Mon Sep 2 17:17:28 2013 (r326040) @@ -0,0 +1,11 @@ +--- include/lightning.h.orig 2013-09-02 13:38:10.000000000 +0300 ++++ include/lightning.h 2013-09-02 14:57:27.000000000 +0300 +@@ -38,7 +38,7 @@ + # define __WORDSIZE WORDSIZE + # elif defined(__SIZEOF_POINTER__) /* ppc aix */ + # define __WORDSIZE (__SIZEOF_POINTER__ << 3) +-# elif defined(_ILP32) /* hppa hp-ux */ ++# elif defined(_ILP32) || defined(__i386__) /* hppa hp-ux, i386 gcc 4.2 */ + # define __WORDSIZE 32 + # elif defined(_LP64) /* ia64 hp-ux (with cc +DD64) */ + # define __WORDSIZE 64 Modified: head/devel/lightning/pkg-descr ============================================================================== --- head/devel/lightning/pkg-descr Mon Sep 2 17:12:11 2013 (r326039) +++ head/devel/lightning/pkg-descr Mon Sep 2 17:17:28 2013 (r326040) @@ -3,4 +3,4 @@ it is very fast, making it ideal for Jus over the target CPU, as it exposes to the clients a standardized RISC instruction set inspired by the MIPS and SPARC chips. -WWW: http://www.gnu.org/software/lightning/ +WWW: http://www.gnu.org/software/lightning/ Modified: head/devel/lightning/pkg-plist ============================================================================== --- head/devel/lightning/pkg-plist Mon Sep 2 17:12:11 2013 (r326039) +++ head/devel/lightning/pkg-plist Mon Sep 2 17:17:28 2013 (r326040) @@ -1,28 +1,7 @@ -bin/lightningize -include/lightning/asm-common.h -include/lightning/asm.h -include/lightning/core-common.h -include/lightning/core.h -include/lightning/fp-common.h -include/lightning/fp.h -include/lightning/funcs-common.h -include/lightning/funcs.h -include/lightning/i386/asm.h -include/lightning/i386/core.h -include/lightning/i386/fp.h -include/lightning/i386/funcs.h -include/lightning/ppc/asm.h -include/lightning/ppc/core.h -include/lightning/ppc/fp.h -include/lightning/ppc/funcs.h -include/lightning/sparc/asm.h -include/lightning/sparc/core.h -include/lightning/sparc/fp.h -include/lightning/sparc/funcs.h -share/aclocal/lightning.m4 -%%DATADIR%%/Makefile.am -@dirrm %%DATADIR%% -@dirrm include/lightning/sparc -@dirrm include/lightning/ppc -@dirrm include/lightning/i386 +include/lightning.h +include/lightning/jit_%%JIT_ARCH%%.h +lib/liblightning.a +lib/liblightning.la +lib/liblightning.so +lib/liblightning.so.0 @dirrm include/lightning
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309021717.r82HHSwr004986>