x265: include bsd.prefs.mk before checking platform

This commit is contained in:
wiz 2020-10-29 23:58:07 +00:00
parent c3e775099d
commit 5e1c379396

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.32 2020/10/29 21:47:39 nia Exp $
# $NetBSD: Makefile,v 1.33 2020/10/29 23:58:07 wiz Exp $
DISTNAME= x265_3.4
PKGNAME= ${DISTNAME:S/_/-/}
@ -12,6 +12,8 @@ LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${DISTNAME}/source
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
. if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386"
# Avoid text relocations