git: 25b4026ab607 - main - archivers/p5-Compress-LZO: Utilize USES=localbase

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 15:10:37 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25b4026ab60758f223fae171d3dfe8ceaaa93f73

commit 25b4026ab60758f223fae171d3dfe8ceaaa93f73
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-30 15:01:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-30 15:10:21 +0000

    archivers/p5-Compress-LZO: Utilize USES=localbase
---
 archivers/p5-Compress-LZO/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/archivers/p5-Compress-LZO/Makefile b/archivers/p5-Compress-LZO/Makefile
index 3b030d06f6b5..76447e0f5ea8 100644
--- a/archivers/p5-Compress-LZO/Makefile
+++ b/archivers/p5-Compress-LZO/Makefile
@@ -13,9 +13,7 @@ LICENSE=	GPLv2
 BUILD_DEPENDS=	p5-Devel-CheckLib>=0.9:devel/p5-Devel-CheckLib
 LIB_DEPENDS=	liblzo2.so:archivers/lzo2
 
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-USES=		perl5
+USES=		perl5 localbase:ldflags
 USE_PERL5=	configure
 
 post-install: