1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Arrrrgh. Use PERL_ARCH properly instead of hardcoding "mach".

While I'm here, mark it as IGNORE'd on Perl versions earlier than 5.6
anyway - we kinda need all the goodies provided by "use bytes" and friends.

Reported by:	pointyhat via kris
Pointy hat to:	roam (myself)
This commit is contained in:
Peter Pentchev 2006-02-01 20:26:56 +00:00
parent 65c6c84edf
commit 7ba5634f76
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155025

View File

@ -16,7 +16,7 @@ MAINTAINER= roam@FreeBSD.org
COMMENT= A Perl interface to Last.fm / AudioScrobbler
BUILD_DEPENDS= ${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
${SITE_PERL}/mach/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= ${BUILD_DEPENDS}
@ -25,4 +25,10 @@ PERL_CONFIGURE= yes
MAN1= scrobbler-helper.1
MAN3= Audio::Scrobbler.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= needs at least Perl 5.6 for the UTF-8 handling
.endif
.include <bsd.port.post.mk>