Bug 256146

Summary: math/pspp does not build without GUI / X11
Product: Ports & Packages Reporter: Miroslav Lachman <000.fbsd>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Some People    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Miroslav Lachman 2021-05-25 12:05:38 UTC
We are using pspp on headless servers as CLI only but the newer version cannot be built in our poudriere where we have OPTIONS_UNSET= X11 GUI in make.conf

I tried to build PSPP with the following options (UNSET GUI)
_OPTIONS_READ=pspp-1.4.1
_FILE_COMPLETE_OPTIONS_LIST=DOCS EXAMPLES GUI NLS PGSQL
OPTIONS_FILE_UNSET+=DOCS
OPTIONS_FILE_SET+=EXAMPLES
OPTIONS_FILE_UNSET+=GUI
OPTIONS_FILE_SET+=NLS
OPTIONS_FILE_UNSET+=PGSQL

But it still pulls GTK / cairo as dependencies. And GTK cannot be built without X11 too as reported in PR 251855. It all make PSPP unbuildable / unusable in CLI. Previous versions were building fine for years.