aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2016-09-12 16:33:56 +0800
committerolgeni <olgeni@FreeBSD.org>2016-09-12 16:33:56 +0800
commit2722f3cd9e251da602f9dcec7dbd14189696c4aa (patch)
tree251e706eab598d23a1fe17a91c94aa06a4e26b46 /devel
parentbacdf098b23be418b66a193dc2008964cc166baa (diff)
downloadfreebsd-ports-gnome-2722f3cd9e251da602f9dcec7dbd14189696c4aa.tar.gz
freebsd-ports-gnome-2722f3cd9e251da602f9dcec7dbd14189696c4aa.tar.zst
freebsd-ports-gnome-2722f3cd9e251da602f9dcec7dbd14189696c4aa.zip
Unbreak on Erlang 19.
Switch to USES=ssl while I'm here. Submitted by: Walter Schwarzenfeld
Diffstat (limited to 'devel')
-rw-r--r--devel/erlang-exmpp/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/devel/erlang-exmpp/Makefile b/devel/erlang-exmpp/Makefile
index bb339955d0e1..4a56ff549bfb 100644
--- a/devel/erlang-exmpp/Makefile
+++ b/devel/erlang-exmpp/Makefile
@@ -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: