1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/emulators
Tijl Coosemans d7511b9d00 Mk/bsd.port.mk: Add __MAKE_CONF=${NONEXISTENT} to WRK_ENV
And remove it from individual ports.  Use WRK_ENV in custom build
commands where necessary.

FreeBSD make(1) includes /usr/share/mk/sys.mk and that includes
/etc/make.conf if it exists.  This happens when you run make in a port
directory but it also happens when the upstream build system uses make.
This commit disables make.conf inclusion in the latter case because
users can define variables like CFLAGS in make.conf that override ports
framework variables and this can cause problems that are difficult to
diagnose.

If there are any build customisations made through make.conf that stop
working because of this commit then they should be made available by the
ports tree through some mechanism, e.g. an option in a port.

Some ports were picking up variables from Poudriere make.conf and
required fixes:

- astro/wmspaceweather x11-clocks/wmcalclock: Add OPSYS to MAKE_ENV.
- games/zhlt: Add ARCH to MAKE_ENV.
- graphics/tachyon: Upstream ARCH is not ports tree ARCH.
  Set ALL_TARGET=bsd so upstream ARCH is defined correctly.
  Enable multi-threading support while here.

PR:		277455
Exp-run by:	antoine
2024-03-23 12:19:32 +01:00
..
adamem
almostti
anese
aqemu
aranym
atari800
bfe
bochs
bsvc
cannonball
catapult
cemu
cingb
citra
citra-qt5
cpmtools
cpmtools2
darcnes
dgen-sdl
dolphin-emu
dosbox
dosbox-staging
dosbox-x
dps8m
duckstation
dynamips-community
edumips64
elliott-803
emu64
emulationstation
fceux
fmsx
frodo
fs-uae
fs-uae-launcher
fuse
fuse-roms
fuse-utils
gbe
gens
gngb
gxemul
hatari
hercules
higan
hugo
hv_kvp_cmd
javatari
joytran
jzintv
klh10
lib765
libc6-shim
libdsk
libretro-bsnes
libretro-flycast
libretro-kronos
libretro-mame
libretro-pcsx2
libretro-ppsspp
libretro-reicast
libretro-vice
libspectrum
linux_base-c7
linux-c7
linux-power9-functional-sim
linux-power10-functional-sim
magia
mame
mastergear
mednafen
mesen
mgba
mtools
mupen64plus
mupen64plus-audio-sdl
mupen64plus-core
mupen64plus-input-sdl
mupen64plus-plugins
mupen64plus-qt
mupen64plus-rsp-cxd4
mupen64plus-rsp-hle
mupen64plus-rsp-z64
mupen64plus-ui-console
mupen64plus-video-arachnoid
mupen64plus-video-glide64
mupen64plus-video-glide64mk2
mupen64plus-video-rice
mupen64plus-video-z64
nemu
nestopia
o2em
ods2reader
open-simh
open-vm-tools
openmsx
p5-Acme-6502
parallels-tools
pcem
pcemu
pcsx2
playonbsd
ppsspp
ppsspp-qt5
py-gns3-converter
py-m64py
py-unicorn
qemu
qemu7
qemu-cheri
qemu-devel
qemu-powernv
qemu-user-static
qemu-user-static-devel
qmc2
quasi88
reicast
ripes
riscv-isa-sim
rpcs3
rubygem-fission
sameboy
simh
simh-hp2100
simh-hp3000
simh-hpdoc
snes9x-gtk
spim
stella
stonx
teo
tic-80
tiemu3
tilem
tme
tnylpo
tpm-emulator
tuxnes
uae
ucon64
uconvert
ukncbtl
unicorn
vba
vboxtool
vgb-bin
vgba-bin
vice
virtualbox-ose
virtualbox-ose-additions
virtualbox-ose-additions-legacy
virtualbox-ose-additions-nox11
virtualbox-ose-additions-nox11-legacy
virtualbox-ose-kmod
virtualbox-ose-kmod-legacy
virtualbox-ose-legacy
virtualbox-ose-nox11
virtualbox-ose-nox11-legacy
visualboyadvance-m
vmips
vmsbackup
vmw
vt100
vxtools
wine
wine8
wine-devel
wine-gecko
wine-gecko-devel
wine-mono
wine-mono-devel
wine-proton
winetricks
x16-emulator
x16-rom
x48
x49gp
xbraitenberg
xcpc
xen-kernel
xhomer
xsystem35
xzx
yaze-ag
yuzu
z80pack
zsnes
Makefile