Date: Sun, 24 Nov 2019 12:28:27 +0000 From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 241974] lang/nim: Remove BROKEN for powerpc64 Message-ID: <bug-241974-25139-Z2IJMRRB8h@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-241974-25139@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241974 --- Comment #11 from Piotr Kubaj <pkubaj@FreeBSD.org> --- There are still several issues. There is another include of bsd.port.pre.mk, which itself breaks build. It will be much cleaner to do it like: .if defined(PPC_ABI) && ${PPC_ABI} == ELFv2 EXTRA_PATCHES=${PATCHDIR}/elfv2-patch .else EXTRA_PATCHES=${PATCHDIR}/elfv1-patch .endif Such approach is clean and makes it easy to see what you do. In post-patch, you check for PPC_ABI, but this is only defined on powerpc64, which will break build on anything else. You could check like: .if defined(PPC_ABI) && ${PPC_ABI} == ELFv2 (or 1) -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241974-25139-Z2IJMRRB8h>
