git: e6c598af85b5 - main - graphics/pgplot: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Sep 2025 09:31:02 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e6c598af85b56623d1cfd1a2f0a340784a263fc7
commit e6c598af85b56623d1cfd1a2f0a340784a263fc7
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-09-25 09:31:04 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-09-28 09:29:33 +0000
graphics/pgplot: fix build on armv7
Same fix as for math/slatec.
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
Event: EuroBSDcon Devsummit 2025
See also: f56f31e07cb64c0b183127733bc6cd6af61efea1
---
graphics/pgplot/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/graphics/pgplot/Makefile b/graphics/pgplot/Makefile
index ac003945f05c..51b6d081b5ca 100644
--- a/graphics/pgplot/Makefile
+++ b/graphics/pgplot/Makefile
@@ -14,8 +14,6 @@ LICENSE_NAME= PGPLOT License
LICENSE_FILE= ${WRKSRC}/copyright.notice
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
-BROKEN_armv7= link error: /usr/local/bin/ld: error: unsupported option: -z relro
-
LIB_DEPENDS= libpng.so:graphics/png
USES= fortran shebangfix xorg
@@ -30,6 +28,10 @@ FFLAGS+= -std=legacy
SUFFIXES= flib clib bin
WRKSRC= ${WRKDIR}/${PORTNAME}
+# ld.bfd supports neither -z relro nor -z norelro on armv7
+BINUTILS_NO_MAKE_ENV_armv7= LD
+BINUTILS_NO_MAKE_ENV= ${BINUTILS_NO_MAKE_ENV_${ARCH}}
+
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>