Bug 238802 - devel/sdl20: enable altivec on powerpc64
Summary: devel/sdl20: enable altivec on powerpc64
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
Depends on:
Reported: 2019-06-25 14:20 UTC by Piotr Kubaj
Modified: 2019-07-09 10:21 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (amdmi3)

patch (647 bytes, patch)
2019-06-25 14:20 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (amdmi3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-06-25 14:20:26 UTC
Created attachment 205329 [details]

AFAIK there's no reason to have altivec disabled on powerpc64.
Comment 1 Justin Hibbits freebsd_committer 2019-07-05 19:41:54 UTC
It should be conditional, and default enabled.  Some powerpc64 implementations do not have altivec.
Comment 2 Piotr Kubaj freebsd_committer 2019-07-09 10:21:03 UTC
(In reply to Justin Hibbits from comment #1)
The proper solution would be to patch /usr/share/mk/bsd.cpu.mk and then check with:
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Maltivec}