Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 20:09:19 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gmc@sonologic.nl
Subject:   ports/182967: [PATCH] dns/p5-Net-DNS-Resolver-Programmable: fix dependency
Message-ID:  <20131014120919.8D88F479F@sunpoet.net>
Resent-Message-ID: <201310141220.r9ECK0Tc057348@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182967
>Category:       ports
>Synopsis:       [PATCH] dns/p5-Net-DNS-Resolver-Programmable: fix dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 12:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.2-STABLE FreeBSD 9.2-STABLE #0 r256094: Mon Oct  7 14:00:36
>Description:
- Fix *_DEPENDS: version is already in all supported Perl releases
- Convert to new options framework
- Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk
- Bump PORTREVISION for dependency change

Port maintainer (gmc@sonologic.nl) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- p5-Net-DNS-Resolver-Programmable-0.003_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 330308)
+++ Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Net-DNS-Resolver-Programmable
 PORTVERSION=	0.003
+PORTREVISION=	1
 CATEGORIES=	dns net perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -11,27 +12,23 @@
 MAINTAINER=	gmc@sonologic.nl
 COMMENT=	Programmable DNS resolver for off-line testing
 
-RUN_DEPENDS=	p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
-		p5-version>=0:${PORTSDIR}/devel/p5-version
-BUILD_DEPENDS:=	${RUN_DEPENDS}
+BUILD_DEPENDS=	p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
+NO_STAGE=	yes
 USES=		perl5
 USE_PERL5=	modbuild
 
 MAN3=		Net::DNS::Resolver::Programmable.3
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 PORTDOCS=	CHANGES README TODO
 DOCSDIR=	${PREFIX}/share/doc/p5-Net-DNS-Resolver-Programmable
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- p5-Net-DNS-Resolver-Programmable-0.003_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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