svn commit: r421912 - head/devel/erlang-exmpp

Jimmy Olgeni olgeni at FreeBSD.org
Mon Sep 12 08:33:57 UTC 2016


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:


More information about the svn-ports-head mailing list