Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2017 00:48:13 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438237 - head/net/p5-Net
Message-ID:  <201704110048.v3B0mDHe039083@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Apr 11 00:48:13 2017
New Revision: 438237
URL: https://svnweb.freebsd.org/changeset/ports/438237

Log:
  Fix *_DEPENDS
  
  - Add LICENSE_FILE
  - Bump PORTREVISION for dependency change

Modified:
  head/net/p5-Net/Makefile

Modified: head/net/p5-Net/Makefile
==============================================================================
--- head/net/p5-Net/Makefile	Tue Apr 11 00:48:08 2017	(r438236)
+++ head/net/p5-Net/Makefile	Tue Apr 11 00:48:13 2017	(r438237)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Net
 PORTVERSION=	3.10
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	net perl5
 MASTER_SITES=	CPAN
@@ -15,9 +15,8 @@ COMMENT=	Perl5 modules to access and use
 
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
-
-BUILD_DEPENDS=	p5-Socket>=2.016:net/p5-Socket
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+LICENSE_FILE_ART10=	${WRKSRC}/Artistic
+LICENSE_FILE_GPLv1=	${WRKSRC}/Copying
 
 OPTIONS_DEFINE=	SASL SSL
 OPTIONS_DEFAULT=SASL SSL
@@ -33,4 +32,11 @@ NO_ARCH=	yes
 USES=		perl5
 USE_PERL5=	configure
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+BUILD_DEPENDS+=	p5-Socket>=2.016:net/p5-Socket
+RUN_DEPENDS+=	p5-Socket>=2.016:net/p5-Socket
+.endif
+
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704110048.v3B0mDHe039083>