From nobody Sun Jul 28 19:42:20 2024 X-Original-To: dev-commits-ports-all@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 4WXBhr6Pftz5RWpW; Sun, 28 Jul 2024 19:42:20 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXBhr5F95z46bm; Sun, 28 Jul 2024 19:42:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722195740; 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=PrNjOkvq81Q0IGc+BYolpJHSKfveIGGc0vhkR+xF2eA=; b=e2Vh5mqMtgIFQ4Ckt/UPwGKRSpiNKsoXEipmbQojD6ewmAnSYYLkNXDxIp+ErG0+GNnEBG RMh/XV/vR+ez8PY0FZHYCLxXSYYI7xFFfe4eXWJ2GWSyG5Uge6Ygrgn4YVqBXw4CZOY54R mn4ourRY74t/sFK7tGyyZ8X9gwKbpLpSYOLIj0LVbPU0+izRLe6fEc12dV1e+6MbHmqdxa nYuUSaY64GHrbIBI2yOjQH/Gs6Hd4gTR9RR1Ci+mdkYeXFKRSPvRLqcLAaKBXvLyouwzCi nh2b8Or/ajJHUwxjuNf61Qm5tJ2QSAn/H0ED13rgfyxVek37JGgFqsGwUYZhYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722195740; a=rsa-sha256; cv=none; b=lfPa8qZVUl+CkhiZJ8CtLBeBXNEvDErIgiF0WpB0ljpfG6b0cdGBjz+FrRY1Q83j45Tmdi wNrmOtjDOw9Yuk3sFP04qhpoK7w+jeD1aV80V9Y0YFcUITgn2GbQIW4HaFyGS1QOigRsdI SXXWEqlFRzRzkFx7RZyiap9ffPpyBrvf+sQydDtwcmgdQIeIojb9JlsNReQfKGJaN+z4/G QEFaingLAf+dgb0ZM8ow2pSjfecchwd2pUAnspHMygUx5I84PE73b345GBy9+g0pvGFevt KkPPbrqmCkYy/gHmh6Ko623IrXQcszsgCuUPrE0GIGxmAiwEkCleuZeJAI40bA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722195740; 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=PrNjOkvq81Q0IGc+BYolpJHSKfveIGGc0vhkR+xF2eA=; b=fP9orB/NIz5G7EPWKtdgRqMhT0SCE9KYZ5FGRkYWThk5tMJE6QdqJbIZT24iuwolUej3mC HD3idSHFlS+O5dlqy3cmt6PTqHFEvA8jRPJiz5bG2sv0vK7HV0F4EdmF7A/5rZrVanSWv0 sh6qgclwr+b1/7/sG91CCggfXMyZdDcCBb6cG7QzvW1U5CXL1MnMrf3CuoCeSF6Vhg6fK1 HvI67p5CgWDpNm3YZ1xO0C/NsYznAUMliMaszEZK0Tq/Z+3RcKeT8gVnSfd7a0R53hUlYd TfuUgcWUfTfmGwvJmHAOqFc208q2uVhiZcoujoA0183R00offoY/D2zh9KHtCw== 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 4WXBhr4rVRz144y; Sun, 28 Jul 2024 19:42:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46SJgKTR081507; Sun, 28 Jul 2024 19:42:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46SJgKt8081504; Sun, 28 Jul 2024 19:42:20 GMT (envelope-from git) Date: Sun, 28 Jul 2024 19:42:20 GMT Message-Id: <202407281942.46SJgKt8081504@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 926f7d2dfe75 - main - audio/cdparanoia: make the port more robust against exotic machines List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 926f7d2dfe7551981d056941baf0319a1f5ef713 Auto-Submitted: auto-generated The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=926f7d2dfe7551981d056941baf0319a1f5ef713 commit 926f7d2dfe7551981d056941baf0319a1f5ef713 Author: Alexey Dokuchaev AuthorDate: 2024-07-28 19:39:32 +0000 Commit: Alexey Dokuchaev CommitDate: 2024-07-28 19:39:32 +0000 audio/cdparanoia: make the port more robust against exotic machines The port comes with rather old pregenerated GNU autoconf bits which are unaware of the modern machine architectures, e.g. aarch64 et al. Previous (even older) version would emit a warning but continue the configure process; now this is hard error. Additionally, configure script copies its own config.{guess,sub} files over the ones coming from our templates. This is easy to untangle, but if done properly, would require to rebootstrap the whole thing (USES+=autoreconf). Instead, simply extend the existing *-unknown fallback to treat any unmatched *-portbld system type similarly (i.e., gracefully accept) as, prima facie, the build logs remain functionally identical. While here, whack default optimizations since CFLAGS are respected. Reported by: fluffy, pkg-fallout --- audio/cdparanoia/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audio/cdparanoia/Makefile b/audio/cdparanoia/Makefile index f839e511f9a6..8f9ca798f1e0 100644 --- a/audio/cdparanoia/Makefile +++ b/audio/cdparanoia/Makefile @@ -16,4 +16,8 @@ USES= gmake GNU_CONFIGURE= yes USE_LDCONFIG= yes +post-patch: + @${REINPLACE_CMD} -e '/OPT=/s,".*","",' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's,unknown),portbld | *-&,' ${WRKSRC}/configure.sub + .include