aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-04 18:48:27 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-04 18:54:29 +0000
commitbc59da30c6a830032c07847f6d56d0961c034a66 (patch)
treed590bba435bf83835e0a2b637d8a65c3b3b02646
parenta56ec3e9cf20228f5a692caadbfa17ad8a2bf983 (diff)
downloadports-bc59da30c6a830032c07847f6d56d0961c034a66.tar.gz
ports-bc59da30c6a830032c07847f6d56d0961c034a66.zip
databases/p5-Memcached-libmemcached: Fix build on HEAD
- Add LICENSE ART10 GPLv1+
-rw-r--r--databases/p5-Memcached-libmemcached/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/databases/p5-Memcached-libmemcached/Makefile b/databases/p5-Memcached-libmemcached/Makefile
index 44105668e682..64a7625881c4 100644
--- a/databases/p5-Memcached-libmemcached/Makefile
+++ b/databases/p5-Memcached-libmemcached/Makefile
@@ -9,16 +9,25 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Thin fast full interface to the libmemcached client API
WWW= https://metacpan.org/release/Memcached-libmemcached
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
LIB_DEPENDS= libmemcached.so:databases/libmemcached
USES= perl5
USE_PERL5= configure
USE_LDCONFIG= yes
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
post-extract:
@${RM} -r ${WRKDIR}/src
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>