Sync make-plist with our pkg archs.

ok espie@
This commit is contained in:
ajacoutot 2016-09-01 13:12:34 +00:00
parent 2fa3e04b37
commit 59b5e044ea

View File

@ -1,5 +1,5 @@
#! /usr/bin/perl
# $OpenBSD: make-plist,v 1.10 2016/06/22 10:13:17 ajacoutot Exp $
# $OpenBSD: make-plist,v 1.11 2016/09/01 13:12:34 ajacoutot Exp $
# Copyright (c) 2004-2008 Marc Espie <espie@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
@ -875,7 +875,7 @@ sub short_name
}
# If the resulting name is arch-dependent, we warn.
# We don't fix it automatically, as this may need special handling.
if ($short =~ m/i386|m68k|sparc|amd64|x86[-_]64|powerpc|macppc/) {
if ($short =~ m/alpha|amd64|arm|hppa|i386|mips64|mips64el|powerpc|sparc64|x86[-_]64/) {
report $plist, " may contain arch-dependent\n\t$short";
}
return $short;