Skip to content

Commit

Permalink
databases/p5-Memcached-libmemcached: Fix build on HEAD
Browse files Browse the repository at this point in the history
- Add LICENSE ART10 GPLv1+
  • Loading branch information
5u623l20 committed May 4, 2023
1 parent a56ec3e commit bc59da3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion databases/p5-Memcached-libmemcached/Makefile
Expand Up @@ -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>

0 comments on commit bc59da3

Please sign in to comment.