svn commit: r498555 - in head/lang/erlang-runtime20: . files

Jimmy Olgeni olgeni at FreeBSD.org
Wed Apr 10 10:33:09 UTC 2019


Author: olgeni
Date: Wed Apr 10 10:33:07 2019
New Revision: 498555
URL: https://svnweb.freebsd.org/changeset/ports/498555

Log:
  lang/erlang-runtime20: switch to GitHub build and update to 20.3.8.20.

Deleted:
  head/lang/erlang-runtime20/files/patch-lib_wx_configure
Modified:
  head/lang/erlang-runtime20/Makefile
  head/lang/erlang-runtime20/distinfo

Modified: head/lang/erlang-runtime20/Makefile
==============================================================================
--- head/lang/erlang-runtime20/Makefile	Wed Apr 10 10:32:24 2019	(r498554)
+++ head/lang/erlang-runtime20/Makefile	Wed Apr 10 10:33:07 2019	(r498555)
@@ -2,31 +2,12 @@
 # $FreeBSD$
 
 PORTNAME=	erlang
-PORTVERSION=	20.3.8.15
+DISTVERSIONPREFIX=	OTP-
+DISTVERSION=	20.3.8.20
 CATEGORIES=	lang parallel java
-MASTER_SITES=	http://www.erlang.org/download/:erlangorg			\
-		http://erlang.stacken.kth.se/download/:erlangorg		\
-		http://www.csd.uu.se/ftp/mirror/erlang/download/:erlangorg	\
-		http://olgeni.olgeni.com/~olgeni/distfiles/:local		\
-		LOCAL/olgeni:local
 PKGNAMESUFFIX=	-runtime20
-DISTNAME=	otp_src_${ERLANG_REL}
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:erlangorg		\
-		preloaded-${PORTVERSION}${EXTRACT_SUFX}:local
 DIST_SUBDIR=	erlang
-EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
-PATCH_SITES=	http://olgeni.olgeni.com/~olgeni/distfiles/ \
-		LOCAL/olgeni
-PATCHFILES=	patch-otp-20.3.1 patch-otp-20.3.2 patch-otp-20.3.3 \
-		patch-otp-20.3.4 patch-otp-20.3.5 patch-otp-20.3.6 \
-		patch-otp-20.3.7 patch-otp-20.3.8 patch-otp-20.3.8.1 \
-		patch-otp-20.3.8.2 patch-otp-20.3.8.3 patch-otp-20.3.8.4 \
-		patch-otp-20.3.8.5 patch-otp-20.3.8.6 patch-otp-20.3.8.7 \
-		patch-otp-20.3.8.8 patch-otp-20.3.8.9 patch-otp-20.3.8.10 \
-		patch-otp-20.3.8.11 patch-otp-20.3.8.12 patch-otp-20.3.8.13 \
-		patch-otp-20.3.8.14 patch-otp-20.3.8.15
-
 MAINTAINER=	erlang at FreeBSD.org
 COMMENT=	Functional programming language from Ericsson
 
@@ -34,16 +15,18 @@ LICENSE=	APACHE20
 
 BROKEN_sparc64=	Fails to build: error: fp_except undeclared
 
-WRKSRC=		${WRKDIR}/otp_src_${ERLANG_REL}
+USES=		autoreconf:build gmake ncurses perl5
+USE_GITHUB=	yes
+GH_PROJECT=	otp
+USE_PERL5=	build
 
-ERLANG_LIB=	${PORTNAME}${PORTVERSION:C/\..*//}
-ERLANG_REL=	20.3
+GNU_CONFIGURE=	yes
+MAKE_JOBS_UNSAFE=yes
 
-OPTIONS_SUB=	yes
 SUB_FILES=	pkg-message
 SUB_LIST=	ERLANG_LIB=${ERLANG_LIB}
 
-MAKE_JOBS_UNSAFE=yes
+ERLANG_LIB=	${PORTNAME}${PORTVERSION:C/\..*//}
 
 OPTIONS_DEFINE=	DIRTY DTRACE GS HIPE JAVA KQUEUE NATIVE ODBC OPENSSL SCTP THREADS WX
 OPTIONS_DEFAULT=DIRTY DTRACE HIPE KQUEUE OPENSSL SCTP THREADS
@@ -63,10 +46,6 @@ NATIVE_IMPLIES=	HIPE
 OPTIONS_EXCLUDE+=	DTRACE
 .endif
 
-# If you run Erlang and get a message resembling "WARNING: number of
-# probes fixed does not match the number of defined probes (54 != 132,
-# respectively)" you probably misconfigured DTrace in some way.
-
 OPTIONS_EXCLUDE_DragonFly=	HIPE NATIVE SCTP
 # ld(1) fails to link probes: missing __dtrace_erlang___* symbols
 OPTIONS_EXCLUDE_aarch64=	DTRACE
@@ -76,10 +55,10 @@ OPTIONS_EXCLUDE_i386=		DTRACE
 
 OPENSSL_VARS=	BROKEN_SSL=openssl111
 
-GNU_CONFIGURE=	yes
-LDFLAGS+=	-L${LOCALBASE}/lib
-USES=		gmake ncurses perl5
-USE_PERL5=	build
+# If you run Erlang and get a message resembling "WARNING: number of
+# probes fixed does not match the number of defined probes (54 != 132,
+# respectively)" you probably misconfigured DTrace in some way.
+
 CONFIGURE_ENABLE=	smp-support
 
 DIRTY_CONFIGURE_ENABLE=	dirty-schedulers
@@ -100,9 +79,10 @@ OPENSSL_USES=		ssl
 SCTP_CONFIGURE_ENABLE=	sctp
 THREADS_CONFIGURE_ENABLE=	threads
 WX_CONFIGURE_WITH=	wx-config=${WX_CONFIG}
+WX_USES=		gl
 WX_VARS=		USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
 
 .if ${OPSYS} == FreeBSD
 CFLAGS+=	-DMAP_NORESERVE=0
@@ -117,9 +97,12 @@ MAKE_ARGS+=	ARCH=arm
 .endif
 
 pre-configure:
-	cd ${WRKSRC} && ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/preloaded-${PORTVERSION}${EXTRACT_SUFX}
+	@cd ${WRKSRC} && ./otp_build autoconf
 
-pre-configure-MX-off:
+pre-configure-WX-off:
+	echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP
+	echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP
+	echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP
 	echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP
 
 post-configure-ODBC-on:
@@ -150,4 +133,4 @@ post-stage:
 	@cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \
 		| ${SORT} >> ${TMPPLIST}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/lang/erlang-runtime20/distinfo
==============================================================================
--- head/lang/erlang-runtime20/distinfo	Wed Apr 10 10:32:24 2019	(r498554)
+++ head/lang/erlang-runtime20/distinfo	Wed Apr 10 10:33:07 2019	(r498555)
@@ -1,51 +1,3 @@
-TIMESTAMP = 1544291427
-SHA256 (erlang/otp_src_20.3.tar.gz) = 4e19e6c403d5255531c0b870f19511c8b8e3b080618e4f9efcb44d905935b2a1
-SIZE (erlang/otp_src_20.3.tar.gz) = 88170904
-SHA256 (erlang/preloaded-20.3.8.15.tar.gz) = 378c9c29b74eb55785e16b7261a57178a87110d8e9fce1db4110974187ed810e
-SIZE (erlang/preloaded-20.3.8.15.tar.gz) = 334977
-SHA256 (erlang/patch-otp-20.3.1) = 3d43c6ecb867c64318466eb7adeb8953669cb092bb4b43bbe1b51cfb8d640ee8
-SIZE (erlang/patch-otp-20.3.1) = 5316
-SHA256 (erlang/patch-otp-20.3.2) = b4fa80bab29f1382510ad5b3fc66fd5d1aba35bb48ce390763eb05c88a3e44b1
-SIZE (erlang/patch-otp-20.3.2) = 8201
-SHA256 (erlang/patch-otp-20.3.3) = 8049bb676ac703bab6036f2682ca8cd11b787fd3f94aa4f294ec2c0d37c2dbc9
-SIZE (erlang/patch-otp-20.3.3) = 20074
-SHA256 (erlang/patch-otp-20.3.4) = d76846ea1a2adf62d48781416628297a116331d130f2b5dc66770ed0132c9496
-SIZE (erlang/patch-otp-20.3.4) = 28465
-SHA256 (erlang/patch-otp-20.3.5) = 9f3da1a6c1cec2c30934d088fa101611553590139db3e89433cf101058d60029
-SIZE (erlang/patch-otp-20.3.5) = 15964
-SHA256 (erlang/patch-otp-20.3.6) = edcfba7dd5efee0f0739c919aea542bad33b788b7b2fef212983f686401dda39
-SIZE (erlang/patch-otp-20.3.6) = 10837
-SHA256 (erlang/patch-otp-20.3.7) = 3b55f718ef9d863b7616f22f9a90c01766f9d42a69cbfb5fe949d37aec6ac341
-SIZE (erlang/patch-otp-20.3.7) = 19324
-SHA256 (erlang/patch-otp-20.3.8) = ea17d780d1e14ac7419ab57b7393d493124cd2b32da248bbc273e71e87496a92
-SIZE (erlang/patch-otp-20.3.8) = 13102
-SHA256 (erlang/patch-otp-20.3.8.1) = 8c04290f5a66b03501b52a1680838a9f4bd25bcc3a8550a9ce5f7e9ae990916d
-SIZE (erlang/patch-otp-20.3.8.1) = 27058
-SHA256 (erlang/patch-otp-20.3.8.2) = aac9c7b3c93609cc5cf9d3cffa92254da8e0aa22266620ab1d8a4324dfc7f259
-SIZE (erlang/patch-otp-20.3.8.2) = 24822
-SHA256 (erlang/patch-otp-20.3.8.3) = da2a425c0d443199cb5a31826184435334d92e3dad0c502ee4376227c61ed186
-SIZE (erlang/patch-otp-20.3.8.3) = 146618
-SHA256 (erlang/patch-otp-20.3.8.4) = bdd8437c9b4e4f7dec52c3a281dcb85f97c28ed75a868655bf6fe411c6df1c25
-SIZE (erlang/patch-otp-20.3.8.4) = 8486
-SHA256 (erlang/patch-otp-20.3.8.5) = aab67a4a4e122d6f93684c50e7255d6b7cf482c4ef3d9c41f0e4c5db941bcb44
-SIZE (erlang/patch-otp-20.3.8.5) = 35434
-SHA256 (erlang/patch-otp-20.3.8.6) = 5fc321ea92e05dcd4bcbce516d550de97ade4518a4da3c7e50579db980be59ca
-SIZE (erlang/patch-otp-20.3.8.6) = 10965
-SHA256 (erlang/patch-otp-20.3.8.7) = 62aec37d1ef5db75324121dd0178a045becbd225b9bb2126f2b27a03ed19733f
-SIZE (erlang/patch-otp-20.3.8.7) = 68400
-SHA256 (erlang/patch-otp-20.3.8.8) = c9d0364c5bdf3f531de7701a1d2f25a7949b3cb2c0378c08db6a3383cd0c7fa9
-SIZE (erlang/patch-otp-20.3.8.8) = 14280
-SHA256 (erlang/patch-otp-20.3.8.9) = 8e7cf6057eba34c2cebfd23f4466824ac886249d7fcbeacc2c844771c0b9206f
-SIZE (erlang/patch-otp-20.3.8.9) = 4425
-SHA256 (erlang/patch-otp-20.3.8.10) = c30b12322ae08bd29dfded719b3769216806500beffbe8d72575361ddf9139d6
-SIZE (erlang/patch-otp-20.3.8.10) = 9510
-SHA256 (erlang/patch-otp-20.3.8.11) = c142174a35e9d6911ea27bbbf4316cffacc3a87aa67683b24edc95f0fd2ebdf1
-SIZE (erlang/patch-otp-20.3.8.11) = 5408
-SHA256 (erlang/patch-otp-20.3.8.12) = d207aa52384f9ec151b6a697938c1b9f3fedd74e1de357b12e154d25935eaf58
-SIZE (erlang/patch-otp-20.3.8.12) = 36832
-SHA256 (erlang/patch-otp-20.3.8.13) = 5409e03f3ff57fefe4ab1366d470bcdeea4e395ab07f27e8ce771de12c4844f3
-SIZE (erlang/patch-otp-20.3.8.13) = 7279
-SHA256 (erlang/patch-otp-20.3.8.14) = e8f7ac2f1f10185e1666785ba4a3cc60c46f14d46ceb04c45672bf323c83cef7
-SIZE (erlang/patch-otp-20.3.8.14) = 6822
-SHA256 (erlang/patch-otp-20.3.8.15) = 664cc80d24fbe506c90f54af11dcae3cf5ad11ac7ef6c19832c997654be90082
-SIZE (erlang/patch-otp-20.3.8.15) = 6127
+TIMESTAMP = 1552764544
+SHA256 (erlang/erlang-otp-OTP-20.3.8.20_GH0.tar.gz) = 7151e78f7c1d48e05459cec723ca75c3bc92e66e1e4ec47d876b6f6f5aae771e
+SIZE (erlang/erlang-otp-OTP-20.3.8.20_GH0.tar.gz) = 53523729


More information about the svn-ports-all mailing list