Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2016 08:33:56 +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: r421912 - head/devel/erlang-exmpp
Message-ID:  <201609120833.u8C8XuMj062346@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Mon Sep 12 08:33:56 2016
New Revision: 421912
URL: https://svnweb.freebsd.org/changeset/ports/421912

Log:
  Unbreak on Erlang 19.
  
  Switch to USES=ssl while I'm here.
  
  Submitted by:	Walter Schwarzenfeld

Modified:
  head/devel/erlang-exmpp/Makefile

Modified: head/devel/erlang-exmpp/Makefile
==============================================================================
--- head/devel/erlang-exmpp/Makefile	Mon Sep 12 07:42:35 2016	(r421911)
+++ head/devel/erlang-exmpp/Makefile	Mon Sep 12 08:33:56 2016	(r421912)
@@ -18,8 +18,6 @@ RUN_DEPENDS=	erl:lang/erlang
 LIB_DEPENDS=	libexpat.so:textproc/expat2 \
 		libxml2.so:textproc/libxml2
 
-BROKEN=		build fails with Erlang 19
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	processone
 
@@ -35,15 +33,16 @@ CONFIGURE_ARGS+=--enable-static=yes \
 		--enable-escaping-using-cdata
 GNU_CONFIGURE_PREFIX=	"${PREFIX}/lib/erlang/lib"
 PLIST_SUB=	VERSION=${PORTVERSION}
-USES=		autoreconf cpe libtool pkgconfig
+USES=		autoreconf cpe libtool pkgconfig ssl
 CPE_VENDOR=	process-one
-USE_OPENSSL=	yes
 
 DOCS_CONFIGURE_ENABLE=	documentation
 
 MAKE_JOBS_UNSAFE=	yes
 
 post-configure:
+	${REINPLACE_CMD}  's|\(-spec.*\)\/[0-9] ::\(.*\)|\1\2|g' ${WRKSRC}/src/network/*.erl
+	${REINPLACE_CMD}  's|\(-spec.*\)\/[0-9] ::\(.*\)|\1\2|g' ${WRKSRC}/src/core/*.erl
 	${MAKE_CMD} clean -C ${WRKSRC}
 
 post-install:



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