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 @@ -1,20 +1,27 @@ PORTNAME= Net-TCLink PORTVERSION= 3.4 PORTREVISION= 2 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- DISTNAME= Net_TCLink.pm-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Module to for connecting to the TrustCommerce payment gateway WWW= https://metacpan.org/release/Net_TCLink LICENSE= LGPL21 USES= perl5 ssl USE_PERL5= configure + CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion +.endif + .include