Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2019 10:31:39 +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: r498551 - head/lang/erlang-runtime16
Message-ID:  <201904101031.x3AAVdjA031126@repo.freebsd.org>

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

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

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

Modified: head/lang/erlang-runtime16/Makefile
==============================================================================
--- head/lang/erlang-runtime16/Makefile	Wed Apr 10 10:31:25 2019	(r498550)
+++ head/lang/erlang-runtime16/Makefile	Wed Apr 10 10:31:39 2019	(r498551)
@@ -2,32 +2,28 @@
 # $FreeBSD$
 
 PORTNAME=	erlang
-PORTVERSION=	16.b.03.1
-PORTREVISION=	13
+DISTVERSIONPREFIX=	OTP_R
+DISTVERSION=	16B03-1
+PORTEPOCH=	1
 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=	-runtime16
-DISTNAME=	otp_src_${ERLANG_REL}
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:erlangorg
 DIST_SUBDIR=	erlang
-EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	erlang@FreeBSD.org
 COMMENT=	Functional programming language from Ericsson
 
-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=	R${PORTVERSION:S/.//g:tu:S/1$/-1/}
+GNU_CONFIGURE=	yes
+MAKE_JOBS_UNSAFE=yes
 
 SUB_FILES=	pkg-message
 SUB_LIST=	ERLANG_LIB=${ERLANG_LIB}
 
-MAKE_JOBS_UNSAFE=yes
+ERLANG_LIB=	${PORTNAME}${PORTVERSION:C/\..*//}
 
 OPTIONS_DEFINE=	DTRACE GS HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX
 OPTIONS_DEFAULT=KQUEUE OPENSSL SCTP SMP THREADS
@@ -47,11 +43,6 @@ OPTIONS_EXCLUDE_DragonFly=	HIPE SCTP
 
 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.
@@ -73,10 +64,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
@@ -97,7 +87,13 @@ MAKE_ARGS+=	ARCH=x86
 MAKE_ARGS+=	ARCH=arm
 .endif
 
-pre-configure-MX-off:
+pre-configure:
+	@cd ${WRKSRC} && ./otp_build autoconf
+
+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-runtime16/distinfo
==============================================================================
--- head/lang/erlang-runtime16/distinfo	Wed Apr 10 10:31:25 2019	(r498550)
+++ head/lang/erlang-runtime16/distinfo	Wed Apr 10 10:31:39 2019	(r498551)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1523227942
-SHA256 (erlang/otp_src_R16B03-1.tar.gz) = 17ce53459bc5ceb34fc2da412e15ac8c23835a15fbd84e62c8d1852704747ee7
-SIZE (erlang/otp_src_R16B03-1.tar.gz) = 66253556
+TIMESTAMP = 1552763013
+SHA256 (erlang/erlang-otp-OTP_R16B03-1_GH0.tar.gz) = bf2aea30104526999d9d1547da84fc115dd706a24fa5b706dfcace1290b351ef
+SIZE (erlang/erlang-otp-OTP_R16B03-1_GH0.tar.gz) = 32821912



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