sthen 952dee95b5 Rename lang/erlang ports makefile variables used by "gen-versions" and
in PLISTs to avoid a conflict with "COMPILER" used in bsd.port.mk,
remove a hackish workaround, and allow COMPILER to be used as intended.

Use COMPILER to build with ports-gcc on !base-clang arches, needed with
-wx on these arches.

ok cwen@
2019-04-16 11:40:17 +00:00

107 lines
2.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.24 2019/04/16 11:40:17 sthen Exp $
BROKEN-alpha= beam/erl_process.c:6692: internal compiler error: in final_scan_insn, at final.c:2449
COMMENT-main= ${COMMENT}
COMMENT-wx= WxWidgets bindings for Erlang
V= 17.5
MAJ_V= 17
EPOCH= 0
DISTNAME= otp_src_$V
PKGNAME= erlang-$V
PKGNAME-main= erlang-$V
PKGNAME-wx= erlang-wx-$V
REVISION-main= 13
REVISION-wx= 5
VERSION_SPEC= >=17v0,<18v0
PKGSPEC-main= erlang-${VERSION_SPEC}
PKGSPEC-wx= erlang-wx-${VERSION_SPEC}
BUILD_DEPENDS+= textproc/libxslt
CONFIGURE_ARGS+=--without-jinterface \
--without-odbc \
--enable-threads \
--enable-kernel-poll \
--disable-hipe
MULTI_PACKAGES = -main -wx
WANTLIB = m pthread
WANTLIB-main = ${WANTLIB} c crypto curses util
WANTLIB-wx += ${WANTLIB} GL GLU ${COMPILER_LIBCXX}
WANTLIB-wx += wx_baseu-3.0 wx_baseu_xml-3.0 wx_gtk3u_adv-3.0
WANTLIB-wx += wx_gtk3u_aui-3.0 wx_gtk3u_core-3.0 wx_gtk3u_gl-3.0
WANTLIB-wx += wx_gtk3u_html-3.0 wx_gtk3u_stc-3.0 wx_gtk3u_xrc-3.0
LIB_DEPENDS-wx +=x11/wxWidgets>=3.0.4
RUN_DEPENDS-wx =${BASE_PKGPATH},-main>=${MAJ_V}
DOC_DIR= ${PREFIX}/lib/erlang${MAJ_V}/
FAKE_FLAGS = libdir_suffix="/erlang${MAJ_V}"
# Use the target 'gen-versions' to update this list
ERL_VERSIONS= \
ASN1_VSN 3.0.4 \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