Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Fixed gcc PROPERTIES detection
To:
ports@openbsd.org
Date:
Sat, 25 Oct 2025 10:05:31 +0200

Download raw body.

Thread
There is nothing comparable to gcc49 anymore. Is it OK to
replace it with gcc4?

Rafael

diff --git a/lang/freebasic/Makefile b/lang/freebasic/Makefile
index 8b0f979cfc9..bbf869541f8 100644
--- a/lang/freebasic/Makefile
+++ b/lang/freebasic/Makefile
@@ -33,7 +33,7 @@ BUILD_DEPENDS =	devel/libffi
 
 # XXX only pulls this if it actually exists
 .include <bsd.port.arch.mk>
-.if ${PROPERTIES:Mgcc49}
+.if ${PROPERTIES:Mgcc4}
 # Use ports-gcc as the backend runtime compiler, since we know FreeBASIC
 # will generate C files with GNU C extensions that clang doesn't like.
 RUN_DEPENDS =	devel/libffi \
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile
index 9d2df7f7c9f..99ee8a1b38b 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -48,7 +48,7 @@ TEST_DEPENDS=	${FULLPKGNAME}:${FULLPKGPATH} \
 		devel/py-wheel
 
 .include <bsd.port.arch.mk>
-.if ${PROPERTIES:Mgcc49}
+.if ${PROPERTIES:Mgcc4}
 MODULES+=	fortran
 BUILD_DEPENDS+=	${MODFORTRAN_BUILD_DEPENDS}
 LIB_DEPENDS+=	${MODFORTRAN_LIB_DEPENDS} \