aboutsummaryrefslogtreecommitdiff
path: root/net/dhcprelya/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-10-20 19:43:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-10-20 19:43:23 +0000
commit3e0d663e4510803f4baf064f1ffa3ee032a66395 (patch)
treedf23de31741c9a570d5f0b6b63c5be5127a79ff8 /net/dhcprelya/Makefile
parent82a16dad351a4e7ed59e1e8e75c3bbcea235ddfb (diff)
downloadports-3e0d663e4510803f4baf064f1ffa3ee032a66395.tar.gz
ports-3e0d663e4510803f4baf064f1ffa3ee032a66395.zip
Notes
Diffstat (limited to 'net/dhcprelya/Makefile')
-rw-r--r--net/dhcprelya/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/dhcprelya/Makefile b/net/dhcprelya/Makefile
index 9683ae32def3..110d215595e9 100644
--- a/net/dhcprelya/Makefile
+++ b/net/dhcprelya/Makefile
@@ -3,6 +3,7 @@
PORTNAME= dhcprelya
PORTVERSION= 6.1
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= sem@semmy.ru
@@ -24,9 +25,15 @@ PLIST_FILES= sbin/${PORTNAME} lib/${PORTNAME}_log_plugin.so \
OPTIONS_DEFINE= DOCS
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000
+LDFLAGS+= -Wl,-E
+.endif
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}/${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>