Convert to specifying the port name in _DEPENDS instead of

${SITE_PERL}/foo/bar/file.pm

http://wiki.freebsd.org/PortsLongtermTargets#Use_of_SITE_PERL_in_dependencies
This commit is contained in:
Doug Barton 2012-06-01 04:00:24 +00:00
parent db57bba82a
commit 249914eb08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297913
5 changed files with 12 additions and 12 deletions

View File

@ -17,7 +17,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= dougb@FreeBSD.org
COMMENT= FPDNS - Fingerprinting DNS servers
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
RUN_DEPENDS= p5-Net-DNS:${PORTSDIR}/dns/p5-Net-DNS
PERL_CONFIGURE= yes

View File

@ -15,10 +15,10 @@ MAINTAINER= dougb@FreeBSD.org
COMMENT= Perl5 interface to the DNS resolver, and dynamic updates
# Warnings during build are harmless, the port does not need these to build
RUN_DEPENDS= ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC
RUN_DEPENDS= p5-Digest-HMAC:${PORTSDIR}/security/p5-Digest-HMAC
TEST_DEPENDS= ${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod \
${SITE_PERL}/Digest/BubbleBabble.pm:${PORTSDIR}/security/p5-Digest-BubbleBabble
TEST_DEPENDS= p5-Test-Pod:${PORTSDIR}/devel/p5-Test-Pod \
p5-Digest-BubbleBabble:${PORTSDIR}/security/p5-Digest-BubbleBabble
MAKE_JOBS_SAFE= yes
@ -62,11 +62,11 @@ RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA
.endif
.if !defined(WITHOUT_IPV6)
RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6
RUN_DEPENDS+= p5-IO-Socket-INET6:${PORTSDIR}/net/p5-IO-Socket-INET6
.endif
.if defined(WITH_IDN)
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/LibIDN.pm:${PORTSDIR}/dns/p5-Net-LibIDN
RUN_DEPENDS+= p5-Net-LibIDN:${PORTSDIR}/dns/p5-Net-LibIDN
.endif
DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS

View File

@ -34,7 +34,7 @@ PORTDOCS= ChangeLog PROGRAMMING README
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_IPV6)
RUN_DEPENDS= ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6
RUN_DEPENDS= p5-IO-Socket-INET6:${PORTSDIR}/net/p5-IO-Socket-INET6
EXTRA_PATCHES= ${PATCHDIR}/dsirc-ipv6
.else
EXTRA_PATCHES= ${PATCHDIR}/dsirc-minimal

View File

@ -13,10 +13,10 @@ MASTER_SITES= SF/iphawk/iphawk/Hawk%20${PORTVERSION}/
MAINTAINER= dougb@FreeBSD.org
COMMENT= Track uptime and DNS status for machines on your networks
RUN_DEPENDS= ${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
${SITE_PERL}/Net/Ping/External.pm:${PORTSDIR}/net/p5-Net-Ping-External \
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
RUN_DEPENDS= p5-Net-Netmask:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
p5-Net-Ping-External:${PORTSDIR}/net/p5-Net-Ping-External \
p5-DBI:${PORTSDIR}/databases/p5-DBI \
p5-DBD-mysql:${PORTSDIR}/databases/p5-DBD-mysql
USE_PERL5= yes
USE_MYSQL= server

View File

@ -20,7 +20,7 @@ LIB_DEPENDS= gle.4:${PORTSDIR}/graphics/gle \
xml2.5:${PORTSDIR}/textproc/libxml2 \
glade-2.0.0:${PORTSDIR}/devel/libglade2
RUN_DEPENDS= ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
RUN_DEPENDS= p5-libwww:${PORTSDIR}/www/p5-libwww \
giftopnm:${PORTSDIR}/graphics/netpbm
MAKE_JOBS_SAFE= yes