To do what the comment suggests, otherwise you might end up with
2.45.1 binutils and 2.45 gas, for example.

I did not run into problems, but carrying a local binutils diff
across the .1 update made me notice that the dependency did not
get dragged along.

Thoughts?

diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index dee91052913..9f5bd2eff91 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,7 +1,9 @@
 COMMENT =      GNU binary utilities
 
 # keep version synchronized with devel/gas
-DISTNAME =     binutils-2.45.1
+V =            2.45.1
+DISTNAME =     binutils-${V}
+REVISION =     0
 EXTRACT_SUFX = .tar.bz2
 
 CATEGORIES =   devel
@@ -19,7 +21,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/}
 

Reply via email to