git: 666ebe95ca6a - main - net-im/pidgin-fetion: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 14 May 2023 19:59:18 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=666ebe95ca6a0053cde5f0a5aa779a54c9e38b54

commit 666ebe95ca6a0053cde5f0a5aa779a54c9e38b54
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-14 18:22:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-14 19:59:09 +0000

    net-im/pidgin-fetion: Unbreak on HEAD
    
    - Refactor with USES=localbase
    - Adopt port
    - Pet portclippy
---
 net-im/pidgin-fetion/Makefile | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/net-im/pidgin-fetion/Makefile b/net-im/pidgin-fetion/Makefile
index 38d79b1ca0e5..29cecaa0a99b 100644
--- a/net-im/pidgin-fetion/Makefile
+++ b/net-im/pidgin-fetion/Makefile
@@ -6,7 +6,7 @@ MASTER_SITES=	http://www.logvinov.ru/files/dist/fetion/ \
 		LOCAL/avl
 PKGNAMEPREFIX=	pidgin-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Fetion protocol plugin for libpurple
 WWW=		https://sourceforge.net/projects/fetion/
 
@@ -15,12 +15,18 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libpurple.so:net-im/libpurple
 
+USES=		libtool localbase:ldflags pkgconfig tar:bzip2
+
 GNU_CONFIGURE=	yes
-USES=		libtool pkgconfig tar:bzip2
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+
 INSTALL_TARGET=	install-strip
 
 PLIST_FILES=	lib/purple-2/libfetion.so
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>