git: 4aa404147a3f - main - net/p5-Net-TCLink: Fix BUILD on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Mar 2023 14:07:14 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4aa404147a3ffe6c7eeb45493a4c9c38b1f10360
commit 4aa404147a3ffe6c7eeb45493a4c9c38b1f10360
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-24 14:05:57 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-24 14:07:04 +0000
net/p5-Net-TCLink: Fix BUILD on HEAD
---
net/p5-Net-TCLink/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/net/p5-Net-TCLink/Makefile b/net/p5-Net-TCLink/Makefile
index 3289898cc461..b64094d8d4e2 100644
--- a/net/p5-Net-TCLink/Makefile
+++ b/net/p5-Net-TCLink/Makefile
@@ -14,7 +14,14 @@ LICENSE= LGPL21
USES= perl5 ssl
USE_PERL5= configure
+
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
.include <bsd.port.mk>