From nobody Thu Nov 14 08:44:02 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xptwy5l75z5cLGC; Thu, 14 Nov 2024 08:44:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xptwy3G6Fz4p5f; Thu, 14 Nov 2024 08:44:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731573842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+1G0oLFtEgrfZR3KXpRHkc1gfBB9K2dPbphjB6NO+xY=; b=BooMwmm9wCRKj6ZUy/XvIGKPm+MCc+rYzxMXR22xUprAzunTjNLqkaRFfulq1ulTLhmZ12 mIEYmxeQ+fa2yMRwcBv/+3AeDGb+ePI9PasmbjHy0jVEjdIfvttoi7IOnFL79xd2YnEy5K t03JGYEws3OltwU7wHWEJyFSFpjMlMsBnJU5miCEJyVZlngIBCjVFCT1q0FwYO3JKdWgaY g/JrDcIagL/Legk2vGycKvDBLJhsCp+mAiM2hNObtJ3KOigobz3YUnr1rYAxglgjUkiZ4k +lFCgzqVCnaBN51dbcZsSKzvQh2JHHN2ce+HpY2fY5WOVt8Bvk0BNsfSy2T6Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731573842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+1G0oLFtEgrfZR3KXpRHkc1gfBB9K2dPbphjB6NO+xY=; b=dP8aRsPofavta5mtL7zHin4+Q2FPj9eME0UJsNfT4ij2tHGDxy3SE508maQkP0lLaQmL1k EmGgOmg3au1sElk/65StaIRFObx18QPN80UEvTyt7foagPvHa5wWCb95oOeOhAFx1hu1O4 bwFqVr/8DJdScolQQDny0CEKHaeAd/RYa4Z1X2lEo0vUdbePMDnmst7XSLOmv26bLSg8+o IhZNwtGx0nl4NtIsEQ5Qn+b6eoc0TC0Fdw+XTvWEeuQ7iG3t3LNNjxWEjQibcQi0RbX+XE kRBk+LqFXvVm2RUDdo4/AVo54ZO1CN/m7urQTHJ5aqgSLXmbZql2wLTZSHHexg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731573842; a=rsa-sha256; cv=none; b=KkOsLBl671geXNlC7KcBXh3OJAwP6ZLAssSG9EYHy8/wHBXh6tH52InbB2WpGFKLEkvbRp kGSkFA7eoWHetQqVCrBxl/aSdKz/v7Iya2wLGlUP55Yh0xxFZdHheCTjrqVp80TxCPDsU5 XEZMvPUn3wGO51RNwAx17P+i+T5ShVn+C3Q0DXYcoBGLVEJ7C9zkvJg6g2bB3I/qQGW1tx rwraFS/MXIVZoS4244mK4B0gQ+GY1pdZzE45sXnHIWV/UBWwDwcVXUoKHmTkPihX1qi4ki CkaK569FGxjf5u6+m2ENyOzccyLiGEFKcA0gH8KwQROY7fZC07j8KJJLGhbbtg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xptwy2tbTzXv9; Thu, 14 Nov 2024 08:44:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AE8i29l020077; Thu, 14 Nov 2024 08:44:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AE8i2g3020072; Thu, 14 Nov 2024 08:44:02 GMT (envelope-from git) Date: Thu, 14 Nov 2024 08:44:02 GMT Message-Id: <202411140844.4AE8i2g3020072@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 76b0011589e1 - main - net-mgmt/rate: fix build on 15-CURRENT List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 76b0011589e1ec4eb2ebf5544e47e4ea7d630a99 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=76b0011589e1ec4eb2ebf5544e47e4ea7d630a99 commit 76b0011589e1ec4eb2ebf5544e47e4ea7d630a99 Author: Robert Clausecker AuthorDate: 2024-11-11 12:51:54 +0000 Commit: Robert Clausecker CommitDate: 2024-11-14 08:43:21 +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 --- 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