Bug 243880

Summary: lang/erlang Please update WX to 3.1
Product: Ports & Packages Reporter: Sebastian Stroniewski-Wojtczak <sebastian.stroniewskiwojtczak>
Component: Individual Port(s)Assignee: Jimmy Olgeni <olgeni>
Status: New ---    
Severity: Affects Only Me CC: olgeni
Priority: --- Keywords: buildisok
Version: LatestFlags: bugzilla: maintainer-feedback? (erlang)
Hardware: Any   
OS: Any   
Description Flags
lang_erlang_Makefile patch to use WX3.1+ instead of WX2.8+ none

Description Sebastian Stroniewski-Wojtczak 2020-02-04 18:26:40 UTC
Created attachment 211351 [details]
lang_erlang_Makefile patch to use WX3.1+ instead of WX2.8+

Many people have issue with WX2.8 if Dark Theme is used under GUI, that prevents from seeing Processess tab in :observer.start() WxWidget App.

Instead of repairing what is broken in WX2.8, it's better to use WX3.1+ for lang/erlang build from source.

Patch attached and worked as expected. Erlang is supporting WX3.1 since several months.


--- lang/erlang/Makefile-orig   2020-02-03 21:31:03.000000000 +0100
+++ lang/erlang/Makefile        2020-02-04 18:43:19.441383000 +0100
@@ -99,7 +99,7 @@
 WX_CONFIGURE_WITH=     wx-config=${WX_CONFIG}
 WX_USES=               gl
-WX_VARS=               USE_WX=2.8+ WX_COMPS="wx contrib" USE_GL="gl glu"
+WX_VARS=               USE_WX=3.1+ WX_COMPS="wx" USE_GL="gl glu"
 .include <bsd.port.pre.mk>

Comment 1 Automation User 2020-02-19 00:45:30 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/119090557
Comment 2 commit-hook freebsd_committer 2021-04-10 19:26:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=230467c8b24252dc03744acd911eb0e5ca99ce73

commit 230467c8b24252dc03744acd911eb0e5ca99ce73
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2021-04-08 10:36:51 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2021-04-10 19:25:39 +0000

    lang/erlang: update to version; unbreak ODBC and PDF.

    - Update WX requirement to 3.1.

    PR:             254767 (ODBC part)
    PR:             243880 (WX part)

 lang/erlang/Makefile | 12 +++++++-----
 lang/erlang/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 8 deletions(-)