On 2023/12/11 16:40, Lorenz (xha) wrote: > FYI hare only needs gas and not the complete binutils package. and gas > is just needed because the "as" in the base system is too old. >
Will the version from devel/gas (2.31.1) also work? If so, you could do this to prefer binutils-* but use gas-* if already installed. Index: Makefile =================================================================== RCS file: /cvs/ports/lang/hare/harec/Makefile,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Makefile --- Makefile 3 Dec 2023 19:07:28 -0000 1.1.1.1 +++ Makefile 11 Dec 2023 23:33:28 -0000 @@ -1,4 +1,5 @@ DISTNAME = harec-0.0.0pl20231202 +REVISION = 0 WANTLIB += c m @@ -8,7 +9,7 @@ COMPILER = base-clang ports-gcc BUILD_DEPENDS = ${RUN_DEPENDS} # Needs a newer GNU as -RUN_DEPENDS = devel/binutils \ +RUN_DEPENDS = binutils-*|gas-*:devel/binutils \ lang/qbe CONFIGURE_STYLE = simple