Bug 182967 - [PATCH] dns/p5-Net-DNS-Resolver-Programmable: fix dependency
Summary: [PATCH] dns/p5-Net-DNS-Resolver-Programmable: fix dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-14 13:20 UTC by Po-Chuan Hsieh
Modified: 2013-10-31 16:11 UTC (History)
1 user (show)

See Also:


Attachments
p5-Net-DNS-Resolver-Programmable-0.003_1.patch (1.20 KB, patch)
2013-10-14 13:20 UTC, Po-Chuan Hsieh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-10-14 13:20:00 UTC
- 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)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-14 13:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-14 13:20:10 UTC
Maintainer of dns/p5-Net-DNS-Resolver-Programmable,

Please note that PR ports/182967 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182967

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-14 13:20:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-10-14 13:29:18 UTC
Responsible Changed
From-To: perl->sunpoet

I'll take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-10-31 16:09:18 UTC
Author: sunpoet
Date: Thu Oct 31 16:09:04 2013
New Revision: 332265
URL: http://svnweb.freebsd.org/changeset/ports/332265

Log:
  - 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
  
  PR:		ports/182967
  Submitted by:	sunpoet (myself)
  Approved by:	maintainer (timeout, 17 days)

Modified:
  head/dns/p5-Net-DNS-Resolver-Programmable/Makefile

Modified: head/dns/p5-Net-DNS-Resolver-Programmable/Makefile
==============================================================================
--- head/dns/p5-Net-DNS-Resolver-Programmable/Makefile	Thu Oct 31 15:52:38 2013	(r332264)
+++ head/dns/p5-Net-DNS-Resolver-Programmable/Makefile	Thu Oct 31 16:09:04 2013	(r332265)
@@ -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 @@ DISTNAME=	${PORTNAME}-v${PORTVERSION}
 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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-10-31 16:11:38 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!