[Bug 241974] lang/nim: Remove BROKEN for powerpc64

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241974

--- Comment #11 from Piotr Kubaj <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.