Something in my configs affects port builds and I can't find what is it.
Building x11/x3270
fails on my 13.2-STABLE, 13.2-RELEASE and 12.4-RELEASE.
Build works on freshly installed 13.2-RELEASE with no configs at all, and after first login to OS, only commands issued are:
and build is done without errors.
On every other of my systems build fails with:
PX_SUCCESS is declared, and build works if (after error) I do:
Build also works with
My /etc/make.conf
Build fails even with everything in the make.conf commented out.
Where should I look, which configs affect port builds?
Building x11/x3270
fails on my 13.2-STABLE, 13.2-RELEASE and 12.4-RELEASE.
Build works on freshly installed 13.2-RELEASE with no configs at all, and after first login to OS, only commands issued are:
Code:
pkg install git
git clone https://git.freebsd.org/ports.git /usr/ports
cd /usr/ports/x11/x3270 ; make stage
and build is done without errors.
On every other of my systems build fails with:
Code:
../../../Common/pr3287/pr3287.c:1167:59: error: use of undeclared identifier 'PX_SUCCESS'; did you mean 'SI_SUCCESS'?
PX_SUCCESS is declared, and build works if (after error) I do:
Code:
cd work/suite3270-4.2
CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
cd ../../ ; make stage
Build also works with
USE_GCC=yes
added to Makefile, without need to manually reconfigure.My /etc/make.conf
Code:
CPUTYPE?=sandybridge
CFLAGS= -O2 -pipe -fno-strict-aliasing
COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing
OPTIMIZED_CFLAGS=YES
BUILD_OPTIMIZED=YES
WITH_CPUFLAGS=YES
WITHOUT_DEBUG=YES
WITH_OPTIMIZED_CFLAGS=YES
MK_PROFILE= no
BUILD_STATIC=YES
Build fails even with everything in the make.conf commented out.
Where should I look, which configs affect port builds?