summaryrefslogtreecommitdiff
path: root/math/slatec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/slatec/Makefile')
-rw-r--r--math/slatec/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/math/slatec/Makefile b/math/slatec/Makefile
index 0c746dbf2da9..5b2e2ec45ead 100644
--- a/math/slatec/Makefile
+++ b/math/slatec/Makefile
@@ -14,6 +14,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= SLATEC Common Mathematical Library
WWW= https://www.netlib.org/slatec/
+LICENSE= PD
+
USES= fortran uidfix
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/src
@@ -29,6 +31,10 @@ MAKE_ENV+= LDADD="${LDADD}" SHLIB_MAJOR="${SHLIB_MAJOR}" \
SRCCONF="${SRCCONF}"
FFLAGS+= -std=legacy
+# 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 PROFILE
.include <bsd.port.options.mk>