Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2019 10:32:06 +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: r498553 - head/lang/erlang-runtime18
Message-ID:  <201904101032.x3AAW6WE033831@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Wed Apr 10 10:32:06 2019
New Revision: 498553
URL: https://svnweb.freebsd.org/changeset/ports/498553

Log:
  lang/erlang-runtime18: switch to GitHub build.

Modified:
  head/lang/erlang-runtime18/Makefile
  head/lang/erlang-runtime18/distinfo

Modified: head/lang/erlang-runtime18/Makefile
==============================================================================
--- head/lang/erlang-runtime18/Makefile	Wed Apr 10 10:31:52 2019	(r498552)
+++ head/lang/erlang-runtime18/Makefile	Wed Apr 10 10:32:06 2019	(r498553)
@@ -2,43 +2,29 @@
 # $FreeBSD$
 
 PORTNAME=	erlang
-PORTVERSION=	18.3.4.11
+DISTVERSIONPREFIX=	OTP-
+DISTVERSION=	18.3.4.11
 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=	-runtime18
-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-18.3.1 patch-otp-18.3.2 patch-otp-18.3.3 \
-		patch-otp-18.3.4 patch-otp-18.3.4.1 patch-otp-18.3.4.2 \
-		patch-otp-18.3.4.3 patch-otp-18.3.4.4 patch-otp-18.3.4.5 \
-		patch-otp-18.3.4.6 patch-otp-18.3.4.7 patch-otp-18.3.4.8 \
-		patch-otp-18.3.4.9 patch-otp-18.3.4.10 patch-otp-18.3.4.11
-
 MAINTAINER=	erlang@FreeBSD.org
 COMMENT=	Functional programming language from Ericsson
 
 LICENSE=	APACHE20
 
-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=	18.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 SMP THREADS WX
 OPTIONS_DEFAULT=DTRACE HIPE KQUEUE OPENSSL SCTP SMP THREADS
@@ -67,11 +53,6 @@ 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.
@@ -95,10 +76,9 @@ SCTP_CONFIGURE_ENABLE=	sctp
 SMP_CONFIGURE_ENABLE=	smp-support
 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
@@ -120,9 +100,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:

Modified: head/lang/erlang-runtime18/distinfo
==============================================================================
--- head/lang/erlang-runtime18/distinfo	Wed Apr 10 10:31:52 2019	(r498552)
+++ head/lang/erlang-runtime18/distinfo	Wed Apr 10 10:32:06 2019	(r498553)
@@ -1,35 +1,3 @@
-TIMESTAMP = 1542300070
-SHA256 (erlang/otp_src_18.3.tar.gz) = fdab8129a1cb935db09f1832e3a7d511a4aeb2b9bb3602ca6a7ccb9730d5c9c3
-SIZE (erlang/otp_src_18.3.tar.gz) = 68292101
-SHA256 (erlang/preloaded-18.3.4.11.tar.gz) = 70bb83686445e4960ff178dfc9df7ad6e9bf018ec9cf45526fe5300cfb0c1b92
-SIZE (erlang/preloaded-18.3.4.11.tar.gz) = 305266
-SHA256 (erlang/patch-otp-18.3.1) = 19a45ed599f4348dd83540c4c3a60bfe20dac5f83643cff1dd71d1b5af1e9bae
-SIZE (erlang/patch-otp-18.3.1) = 20435
-SHA256 (erlang/patch-otp-18.3.2) = 064065ebeadc26a76fcd1b291bc884039117ee8699fe5015809a025dc63a0f35
-SIZE (erlang/patch-otp-18.3.2) = 70255
-SHA256 (erlang/patch-otp-18.3.3) = 5a55b18ee8ec15c8cfe9ffd4687588c0a6f71216538575ae3bbbf67eb5a0485a
-SIZE (erlang/patch-otp-18.3.3) = 87238
-SHA256 (erlang/patch-otp-18.3.4) = 33ceea8b53d7d2a67b78085d7bc80c8b04f5cac792aee49410c86ac45895151a
-SIZE (erlang/patch-otp-18.3.4) = 31596
-SHA256 (erlang/patch-otp-18.3.4.1) = 5998c9578b92cbc4e12d47ae7001f52150d3a065e8101569977e2caa62674456
-SIZE (erlang/patch-otp-18.3.4.1) = 23095
-SHA256 (erlang/patch-otp-18.3.4.2) = 4bce5c1965d4924463c6a243e014cdf5120cd8e75b903e0d00b8557fc00b7bad
-SIZE (erlang/patch-otp-18.3.4.2) = 23520
-SHA256 (erlang/patch-otp-18.3.4.3) = 594be3196ea5a87bebcbc414b189efced68a6de0ddee12bcab7089d5de51f85f
-SIZE (erlang/patch-otp-18.3.4.3) = 5893
-SHA256 (erlang/patch-otp-18.3.4.4) = a2cfac97e2ecb09ec53ebe7fcba953382e4b01b567219ad4abdd63652da9dc91
-SIZE (erlang/patch-otp-18.3.4.4) = 6547
-SHA256 (erlang/patch-otp-18.3.4.5) = d539ac9b72adbda634adfc0fe391e32c0a82c7b4a8807dc606f98bf816397821
-SIZE (erlang/patch-otp-18.3.4.5) = 34006
-SHA256 (erlang/patch-otp-18.3.4.6) = dc3682fb9c2f456cd9b4eb9ab8d00c09f6012a2123e416e2fee8e17ce69ac4ef
-SIZE (erlang/patch-otp-18.3.4.6) = 37943
-SHA256 (erlang/patch-otp-18.3.4.7) = 8b79ab844e465e790eb4ef016d49b917444371190fead05cee2675b435d8a029
-SIZE (erlang/patch-otp-18.3.4.7) = 10475
-SHA256 (erlang/patch-otp-18.3.4.8) = bcac3fe782e7a4b78f36d9d5c928b1d7a2e67aff20ac7bf8f82e5eaab33a60a1
-SIZE (erlang/patch-otp-18.3.4.8) = 19206
-SHA256 (erlang/patch-otp-18.3.4.9) = 3d031267f0111c9bd9a55d44a4f8cb67ad4cfda44f25d5a01e459640b7905d89
-SIZE (erlang/patch-otp-18.3.4.9) = 5284
-SHA256 (erlang/patch-otp-18.3.4.10) = 51f1840f3969fe28a042507a803871a132a483008e58a80e15877c8938bc0175
-SIZE (erlang/patch-otp-18.3.4.10) = 5159
-SHA256 (erlang/patch-otp-18.3.4.11) = ff2402592d1d6ba44043b8cdb28b7f569c48e1920691e2709dad2e8f9bd2b850
-SIZE (erlang/patch-otp-18.3.4.11) = 34336
+TIMESTAMP = 1552761002
+SHA256 (erlang/erlang-otp-OTP-18.3.4.11_GH0.tar.gz) = 94f84e8ca0db0dcadd3411fa7a05dd937142b6ae830255dc341c30b45261b01a
+SIZE (erlang/erlang-otp-OTP-18.3.4.11_GH0.tar.gz) = 33679922



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