1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

- Fix runtime link problems with plugins

PR:		249132
Submitted by:	sem@semmy.ru (maintainer)
Reported by:	olexander.v.melnyk@gmail.com
MFH:		2020Q4
This commit is contained in:
Dmitry Marakasov 2020-10-20 14:14:19 +00:00
parent d2b028e7bb
commit 94a3cc69f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552824

View File

@ -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>