From nobody Sun Aug 06 11:53:49 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RJdC13ppRz4pvj5; Sun, 6 Aug 2023 11:53:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RJdC132Tgz4KyV; Sun, 6 Aug 2023 11:53:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691322829; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sOADZ+OC+vIYzxDwqqCBYiU86vaan1PZp3pp+hq0m2I=; b=EVxH0HHaRAOkWTs0wkox5Df7x7i7+DDxvIvUpPQYj0N/tq3rEuviy20JAgmHusbFtfrFF+ BEGKOFhdBDoi3zUSOYYwwCbbpGAjuPu4sqTNrZe4iNVaQir5DsthjkFkc+NGpUpe3tkFrs HjvAAVZMNi2CiZgWLaFyQUikZ0yyONMvGgEHP5MQpugetOr8Tldl9nHD1HDPvv37XJhSoS jRLTfCjqY1uaS96qYKzh6OgDFZgg1j+Fn8cAFCoO+xXKffTdHXNX1tzmlF8Af+PS7oyl6p M3n4eTyE1xjehB0uyuPjgozztDUcyQG5b4DzSm2s5UQ8tRZbAGdqPE2Z8iru/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691322829; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sOADZ+OC+vIYzxDwqqCBYiU86vaan1PZp3pp+hq0m2I=; b=LCuw/1xBpgBQF1lnbYHjALIgvNAYKPZk/TSme4/e14lK6uf5+DwXG27PFcA+qV8RJj9yEk UUZ12y+xOI3kU6yhAlZZNA3uwONjkYAvdPip50tHCDrFbw5hgc5+OzJfxI63VBcLrTjjlU 3V9FkynCcZq2t9Kw7a9uOBdybLSa3VOFIXgS0a0ZAVE+TYu8t7PPBjCsc/LMLs60BTYGYh OTuTn8KJhtcF73Vg1s9SqoLb0M+Jd6o+teplPzP3EviebffujiDbsLMDXqhqjrL2EOy3Xr EwGP6uYbcw9JgkfTZRNZR9AW20OawvDz8v/miPQnf7EkchQUONmpW705arHKyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691322829; a=rsa-sha256; cv=none; b=N7F1JLid7nGN/pHh6uWd3ATIxfBxHGSFvuxI76HtrOMAQWX2pfN3LMqOcGnYBlfEGlF0nf pXRf6Fp5uV7bh29am8rFJrfLmOxXlFU+CG5X0WmcOFk+3hs8gwVJyNBopzCD9V9dCRCsJZ ICz2RvoTymI2PXVn9xadBnWyNxKzbJL5l4pVBhRnZtM13rqVGSJpEhVBCcY5UK4k7Q4Y2W NAKWuguVQLnXSemzOxLQD2Ih8to7EOFr85+QfwxVgoghPksu4blskfIK/2jEQa/f4DNukV CUm1fh3gSpwD/k4TQicVVsDMGzuACELSwnWZpq031T3GwrfQotEVl2dQ+O2vPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RJdC1261Bz18KZ; Sun, 6 Aug 2023 11:53:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 376BrnQZ073751; Sun, 6 Aug 2023 11:53:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376Brnbt073750; Sun, 6 Aug 2023 11:53:49 GMT (envelope-from git) Date: Sun, 6 Aug 2023 11:53:49 GMT Message-Id: <202308061153.376Brnbt073750@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 9c7774322415 - main - graphics/vapoursynth-fmtconv: Fix build when CPUTYPE isn't defined List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9c7774322415cab8ec0fea0715f536e340b4bbf3 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=9c7774322415cab8ec0fea0715f536e340b4bbf3 commit 9c7774322415cab8ec0fea0715f536e340b4bbf3 Author: Daniel Engberg AuthorDate: 2023-08-06 11:50:47 +0000 Commit: Daniel Engberg CommitDate: 2023-08-06 11:53:44 +0000 graphics/vapoursynth-fmtconv: Fix build when CPUTYPE isn't defined Make fails to execute on some systems when CPUTYPE isn't defined, wrap it behind bsd.port.options.mk to fix it Reported by: dvl --- graphics/vapoursynth-fmtconv/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/graphics/vapoursynth-fmtconv/Makefile b/graphics/vapoursynth-fmtconv/Makefile index 0b42c54e5ad0..3c87e618a83c 100644 --- a/graphics/vapoursynth-fmtconv/Makefile +++ b/graphics/vapoursynth-fmtconv/Makefile @@ -27,15 +27,17 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= * PLIST_FILES= lib/vapoursynth/lib${PORTNAME}.so -# We need at least AVX2 instructions on amd64 -.if !defined(CPUTYPE) && ${ARCH} == "amd64" -CONFIGURE_ENV+= EXTRA_CXXFLAGS=-march=haswell -.endif - CONFIGURE_ARGS= --libdir="${PREFIX}/lib/vapoursynth" OPTIONS_DEFINE= DOCS +.include + +# We need at least AVX2 instructions on amd64 +.if !defined(CPUTYPE) && ${ARCH} == "amd64" +CONFIGURE_ENV+= EXTRA_CXXFLAGS=-march=haswell +.endif + post-patch: @${REINPLACE_CMD} -e 's/x86_64/&|amd64/' \ ${WRKSRC}/configure.ac