Date: Thu, 14 Nov 2024 08:51:45 GMT From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: da040501cef1 - 2024Q4 - net-mgmt/rate: fix build on 15-CURRENT Message-ID: <202411140851.4AE8pjps036481@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=da040501cef1481b1fbb11ccf7cadea048d8052e commit da040501cef1481b1fbb11ccf7cadea048d8052e Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2024-11-11 12:51:54 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-11-14 08:47:26 +0000 net-mgmt/rate: fix build on 15-CURRENT - link with -lutil to grab ftime() on 15-CURRENT. This is harmless on older FreeBSD - while we are at it, install binary using INSTALL_PROGRAM so it is stripped Approved by: portmgr (build fix blanket) MFH: 2024Q4 (cherry picked from commit 76b0011589e1ec4eb2ebf5544e47e4ea7d630a99) --- net-mgmt/rate/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net-mgmt/rate/Makefile b/net-mgmt/rate/Makefile index a3e61ee19b8d..0108bea618a5 100644 --- a/net-mgmt/rate/Makefile +++ b/net-mgmt/rate/Makefile @@ -1,6 +1,6 @@ PORTNAME= rate PORTVERSION= 0.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-mgmt MASTER_SITES= http://s-tech.elsat.net.pl/bmtools/ @@ -12,13 +12,13 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -LDFLAGS+= -lcompat +LDFLAGS+= -lcompat -lutil CFLAGS+= -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH PLIST_FILES= bin/rate share/man/man1/rate.1.gz do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/rate ${STAGEDIR}${PREFIX}/bin/rate + ${INSTALL_PROGRAM} ${WRKSRC}/rate ${STAGEDIR}${PREFIX}/bin/rate ${INSTALL_MAN} ${WRKSRC}/doc/rate.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411140851.4AE8pjps036481>