git: 1c7096ced412 - main - net/py-libdnet: Fix runtime build

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 20 Sep 2023 17:07:18 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c7096ced41211ed08f1dbae6d18dd8d49c19bf9

commit 1c7096ced41211ed08f1dbae6d18dd8d49c19bf9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-20 15:58:13 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-20 17:07:11 +0000

    net/py-libdnet: Fix runtime build
    
    After the fix for net/libdnet py-libdnet was failing to build which is
    fixed here.
    
    Approved by:    portmgr (just-fix-it)
---
 net/py-libdnet/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/py-libdnet/Makefile b/net/py-libdnet/Makefile
index 58b553c1e3de..7f8be1f9ab75 100644
--- a/net/py-libdnet/Makefile
+++ b/net/py-libdnet/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	net python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -6,7 +6,7 @@ COMMENT=	Python module for libdnet
 
 LIB_DEPENDS=	libdnet.so:net/libdnet
 
-USES=		autoreconf libtool python
+USES=		autoreconf libtool localbase:ldflags python
 
 MASTERDIR=	${.CURDIR}/../libdnet
 INSTALL_WRKSRC=	${WRKSRC}/python