Bug 236045

Summary: USE_WX=3.1 causes fatal error
Product: Ports & Packages Reporter: Jack <xxjack12xx>
Component: Individual Port(s)Assignee: Baptiste Daroussin <bapt>
Status: Closed FIXED    
Severity: Affects Many People CC: bapt, w.schwarzenfeld
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jack 2019-02-26 03:52:09 UTC
When trying to use the wx31-gtk port by setting USE_WX=3.1 in the Makefile, it complains with

make: "/usr/ports/Mk/bsd.wx.mk" line 408: Malformed conditional (${_WX_VER:R} == 3)
make: Fatal errors encountered -- cannot continue
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-02-26 04:23:12 UTC
The line /usr/ports/Mk/bsd.wx.mk:408 has been changed by Baptiste Daroussin in commit 493853 today. He is already added to CC.
Comment 2 Walter Schwarzenfeld freebsd_triage 2019-02-26 04:39:46 UTC
===>  electricsheep-2.7,1 selected a wxWidgets component (wx) which is not
available for the selected version (3.1).
*** Error code 1

bsd.wx.mk misses

#wxgtk 3.1
_WX_PORT_wx_3.1=        x11-toolkits/wxgtk31
_WX_LIB_wx_3.1= wx_baseu-3.1
Comment 3 Walter Schwarzenfeld freebsd_triage 2019-02-26 04:42:31 UTC
(In reply to Yuri Victorovich from comment #1)
Sorry, was my mistake.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-02-26 09:34:09 UTC
A commit references this bug:

Author: bapt
Date: Tue Feb 26 09:33:25 UTC 2019
New revision: 493956
URL: https://svnweb.freebsd.org/changeset/ports/493956

Log:
  Finish properly registring properly wxGTK 3.1 into the framework

  PR:		236045

Changes:
  head/Mk/bsd.wx.mk
Comment 5 Walter Schwarzenfeld freebsd_triage 2019-02-26 10:51:46 UTC
Is this intended:

_WX_LIB_wx_3.0=         wx_baseu-3.1 

=> wx_3.0

or a typo and it should bie wx_3.1?
Comment 6 Walter Schwarzenfeld freebsd_triage 2019-02-26 13:02:59 UTC
Ok, it is fixed with rP493959.