aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-06 21:16:09 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-06 21:53:04 +0000
commit235cf8b3e4c6f1ff94f20fdf3b0a3d19d62a041a (patch)
treee0bbc37ee89b4a87d4b642dce2a659a42edc2e37 /net-mgmt
parent54faeb599e982173d7e04424e56cd2bf8919063c (diff)
downloadports-235cf8b3e4c6f1ff94f20fdf3b0a3d19d62a041a.tar.gz
ports-235cf8b3e4c6f1ff94f20fdf3b0a3d19d62a041a.zip
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/irrtoolset/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-mgmt/irrtoolset/Makefile b/net-mgmt/irrtoolset/Makefile
index 0cbce42f76cf..ef787e63c27b 100644
--- a/net-mgmt/irrtoolset/Makefile
+++ b/net-mgmt/irrtoolset/Makefile
@@ -22,4 +22,10 @@ PLIST_FILES= bin/rpslcheck bin/peval bin/rtconfig \
man/man1/rtconfig.1.gz man/man1/peval.1.gz \
man/man1/rpslcheck.1.gz man/man1/irrtoolset-errors.1.gz
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Dregister=
+.endif
+
.include <bsd.port.mk>