From: Stuart Henderson Subject: Re: devel/gas: use same distfile like binutils To: Klemens Nanni Cc: ports , Pascal Stumpf Date: Thu, 27 Nov 2025 17:44:41 +0000 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. On 2025/11/27 15:59, Klemens Nanni wrote: > They're the same sources, but my builder fetched them twice. > bzip is smaller, so use that here. > > Revision bump should not be needed, but does not hurt. > > Feedback? OK? > > diff --git a/devel/gas/Makefile b/devel/gas/Makefile > index c80800f2d6f..171ee002609 100644 > --- a/devel/gas/Makefile > +++ b/devel/gas/Makefile > @@ -2,6 +2,7 @@ COMMENT = GNU assembler > > # keep version synchronized with devel/binutils > V = 2.45.1 > +REVISION = 0 > DISTNAME = binutils-$V > PKGNAME = gas-$V > > @@ -17,6 +18,7 @@ PERMIT_PACKAGE = Yes > WANTLIB += c z zstd > > SITES = ${SITE_GNU:=binutils/} > +EXTRACT_SUFX = .tar.bz2 > > CONFIGURE_STYLE = gnu > CONFIGURE_ARGS += --disable-ld \ > diff --git a/devel/gas/distinfo b/devel/gas/distinfo > index f7cfd416b0a..1d353e50b60 100644 > --- a/devel/gas/distinfo > +++ b/devel/gas/distinfo > @@ -1,2 +1,2 @@ > -SHA256 (binutils-2.45.1.tar.gz) = K2OuCtAV6ydVKU8Se/0XnBhJl53Ye26OGnN2lkpDI9w= > -SIZE (binutils-2.45.1.tar.gz) = 52703549 > +SHA256 (binutils-2.45.1.tar.bz2) = hg2t3skIXLQBEnkTb8itKetTPpRG11JK9/UX3RjwAiQ= > +SIZE (binutils-2.45.1.tar.bz2) = 39291202 >