-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Description
Heya
When trying to build misc/fd, I run into the issue Variable OBJECT_FMT is recursive..
:~/pkgsrc/misc/fd $ bmake clean
Variable OBJECT_FMT is recursive.
in /home/marc/pkgsrc/misc/fd/../../mk/platform/FreeBSD.mk:17
in /home/marc/pkgsrc/mk/bsd.prefs.mk:550
in /home/marc/pkgsrc/misc/fd/Makefile:19
It seems that OBJECT_FMT is not set correctly for Freebsd in mk/bsd.prefs.mk. I was able to workaround this issue for now by adding this to line 455
OBJECT_FMT= "ELF"
NATIVE_OBJECT_FMT:= ${OBJECT_FMT}
CROSSVARS+= OBJECT_FMT
OBJECT_FMT= \
${"${USE_CROSS_COMPILE:U:tl}" == "yes":?${CROSS_OBJECT_FMT}:${NATIVE_OBJECT_FMT}}
Metadata
Metadata
Assignees
Labels
No labels