From: Klemens Nanni Subject: Re: devel/gas: use same distfile like binutils To: ports Date: Thu, 27 Nov 2025 22:14:10 +0000 28.11.2025 01:10, Pascal Stumpf пишет: > On Thu, 27 Nov 2025 17:44:41 +0000, Stuart Henderson wrote: >> for base-gcc archs we really want to keep the number of ports in the >> build path to gcc low. >> >> bzip2 currently only depends on dwz (on debug pkgs archs) or nothing, >> so I think that's currently ok, but care will be needed to avoid loops >> building gcc if things change in the future. >> >> so, really i would advise switching binutils to the tar.gz rather than >> gas to the tar.bz2. > > +1. The space savings are pretty irrelevant. Fair point, thanks. Then gas remains as-is and binutils can sync its rdep while distinfo rides the revision bump. OK? diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index dee91052913..a17976c179d 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -1,8 +1,9 @@ COMMENT = GNU binary utilities # keep version synchronized with devel/gas -DISTNAME = binutils-2.45.1 -EXTRACT_SUFX = .tar.bz2 +V = 2.45.1 +DISTNAME = binutils-${V} +REVISION = 0 CATEGORIES = devel @@ -19,7 +20,7 @@ COMPILER_LANGS = c WANTLIB += c z zstd LIB_DEPENDS += archivers/zstd -RUN_DEPENDS += devel/gas>=2.45p1 +RUN_DEPENDS += devel/gas>=${V} SITES = ${SITE_GNU:=binutils/} diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo index 1d353e50b60..f7cfd416b0a 100644 --- a/devel/binutils/distinfo +++ b/devel/binutils/distinfo @@ -1,2 +1,2 @@ -SHA256 (binutils-2.45.1.tar.bz2) = hg2t3skIXLQBEnkTb8itKetTPpRG11JK9/UX3RjwAiQ= -SIZE (binutils-2.45.1.tar.bz2) = 39291202 +SHA256 (binutils-2.45.1.tar.gz) = K2OuCtAV6ydVKU8Se/0XnBhJl53Ye26OGnN2lkpDI9w= +SIZE (binutils-2.45.1.tar.gz) = 52703549