Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2019 13:32:35 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518325 - in head/lang: racket racket-minimal
Message-ID:  <201911241332.xAODWZPN089139@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Sun Nov 24 13:32:35 2019
New Revision: 518325
URL: https://svnweb.freebsd.org/changeset/ports/518325

Log:
  Cleanup of lang/racket and racket-minimal.
  
  - Reformat with portfmt
  - Reduce diff between Racket ports
  - Fix some portlint warnings
  - Fix typo in --enable-ffi (it was just -enable-ffi before)
  - Now FUTURES is enabled in lang/racket too
  
  Update licensing information as per upstream announcement:
  
  https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html

Modified:
  head/lang/racket-minimal/Makefile
  head/lang/racket/Makefile

Modified: head/lang/racket-minimal/Makefile
==============================================================================
--- head/lang/racket-minimal/Makefile	Sun Nov 24 13:23:55 2019	(r518324)
+++ head/lang/racket-minimal/Makefile	Sun Nov 24 13:32:35 2019	(r518325)
@@ -3,6 +3,7 @@
 
 PORTNAME=	racket
 PORTVERSION=	7.5
+PORTREVISION=	1
 CATEGORIES=	lang scheme
 MASTER_SITES=	http://mirror.racket-lang.org/installers/${PORTVERSION}/ \
 		http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \
@@ -17,33 +18,36 @@ DIST_SUBDIR=	${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION
 MAINTAINER=	olgeni@FreeBSD.org
 COMMENT=	Interactive, integrated, graphical Scheme programming environment
 
-LICENSE=	LGPL3
+LICENSE=	APACHE20 MIT
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 BROKEN_armv6=		fails to compile: ./lightning/lightning.h:81:2: error: GNU lightning does not support the current target
 BROKEN_armv7=		fails to compile: ./lightning/lightning.h:81:2: error: GNU lightning does not support the current target
 BROKEN_i386=		fails to build: Seg fault (internal error) at 0x606060a
 BROKEN_powerpc64=	fails to build: jit.c: 'JIT_LOCAL4' undeclared (first use in this function)
-NOT_FOR_ARCHS=		aarch64 aarch64 mips mips64 sparc64
+NOT_FOR_ARCHS=	aarch64 mips mips64 sparc64
 NOT_FOR_ARCHS_REASON=	not yet ported to this arch
 
 LIB_DEPENDS=	libffi.so:devel/libffi
 
-MAKE_JOBS_UNSAFE=yes
-
-CONFLICTS=	racket-[0-9]*
-
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	-enable-libffi --enable-pthread --enable-places --mandir=${MANDIRS}
+USES=		iconv libtool tar:tgz
 CPPFLAGS+=	-I${LOCALBASE}/include
 LIBS+=		-L${LOCALBASE}/lib
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--enable-libffi \
+		--enable-places \
+		--enable-pthread \
+		--mandir=${MANDIRS}
 WRKSRC=		${WRKDIR}/racket-${PORTVERSION}/src
 PATCH_WRKSRC=	${WRKDIR}/racket-${PORTVERSION}
-USES=		iconv libtool tar:tgz
 USE_LDCONFIG=	yes
 REINPLACE_ARGS=	-i ""
+MAKE_JOBS_UNSAFE=	yes
+CONFLICTS=	racket-[0-9]*
 
-OPTIONS_DEFINE=	FUTURES
-OPTIONS_DEFAULT=FUTURES
+OPTIONS_DEFINE=		FUTURES
+OPTIONS_DEFAULT=	FUTURES
 
 OPTIONS_DEFINE_amd64=	JIT
 OPTIONS_DEFINE_i386=	JIT
@@ -55,7 +59,7 @@ JIT_DESC=	Enable JIT compiler
 JIT_CFLAGS=	-msse -msse2 -mfpmath=sse
 
 FUTURES_CONFIGURE_ENABLE=	futures
-JIT_CONFIGURE_ENABLE=	jit
+JIT_CONFIGURE_ENABLE=		jit
 
 post-install:
 	${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete

Modified: head/lang/racket/Makefile
==============================================================================
--- head/lang/racket/Makefile	Sun Nov 24 13:23:55 2019	(r518324)
+++ head/lang/racket/Makefile	Sun Nov 24 13:32:35 2019	(r518325)
@@ -3,6 +3,7 @@
 
 PORTNAME=	racket
 PORTVERSION=	7.5
+PORTREVISION=	1
 CATEGORIES=	lang scheme
 MASTER_SITES=	http://mirror.racket-lang.org/installers/${PORTVERSION}/ \
 		http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \
@@ -16,42 +17,45 @@ DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
 MAINTAINER=	olgeni@FreeBSD.org
 COMMENT=	Interactive, integrated, graphical Scheme programming environment
 
-LICENSE=	LGPL3
-LICENSE_FILE=	${WRKSRC}/COPYING_LESSER.txt
+LICENSE=	APACHE20 MIT
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 IGNORE_powerpc64=	./lightning/lightning.h:81:2: GNU lightning does not support the current target
 BROKEN_i386=		segfaults during build
 
-LIB_DEPENDS=	libffi.so:devel/libffi		\
-		libcairo.so:graphics/cairo	\
+LIB_DEPENDS=	libcairo.so:graphics/cairo \
+		libffi.so:devel/libffi \
 		libpng.so:graphics/png
 
-MAKE_JOBS_UNSAFE=yes
-
-CONFLICTS=	racket-minimal-[0-9]*
-
 USES=		gnome iconv jpeg libtool localbase sqlite tar:tgz
+USE_GNOME=	cairo pango
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	-enable-libffi --enable-pthread --enable-places --mandir=${MANDIRS}
+CONFIGURE_ARGS=	--enable-libffi \
+		--enable-places \
+		--enable-pthread \
+		--mandir=${MANDIRS}
 WRKSRC=		${WRKDIR}/racket-${PORTVERSION}/src
 PATCH_WRKSRC=	${WRKDIR}/racket-${PORTVERSION}
 USE_LDCONFIG=	yes
 REINPLACE_ARGS=	-i ""
-USE_GNOME=	cairo pango
+MAKE_JOBS_UNSAFE=	yes
+CONFLICTS=	racket-minimal-[0-9]*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=		DOCS FUTURES
+OPTIONS_DEFAULT=	FUTURES
 
-OPTIONS_DEFINE_amd64=	JIT FUTURES
-OPTIONS_DEFINE_i386=	JIT FUTURES
-OPTIONS_DEFAULT_amd64=	JIT FUTURES
-OPTIONS_DEFAULT_i386=	JIT FUTURES
+OPTIONS_DEFINE_amd64=	JIT
+OPTIONS_DEFINE_i386=	JIT
+OPTIONS_DEFAULT_amd64=	JIT
+OPTIONS_DEFAULT_i386=	JIT
 
 FUTURES_DESC=	Enable futures
 JIT_DESC=	Enable JIT compiler
 JIT_CFLAGS=	-msse -msse2 -mfpmath=sse
 
 FUTURES_CONFIGURE_ENABLE=	futures
-JIT_CONFIGURE_ENABLE=	jit
+JIT_CONFIGURE_ENABLE=		jit
 
 post-install:
 	${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911241332.xAODWZPN089139>