mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
The PodParser update is only needed if we're not working with Perl
5.6.1 or later. PR: ports/48349 Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com>
This commit is contained in:
parent
88415bd199
commit
d0ebdbd019
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76026
@ -23,9 +23,13 @@ RUN_DEPENDS= ${BUILD_DEPENDS} \
|
||||
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
|
||||
razor-client:${PORTSDIR}/mail/razor-agents
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
PODPARSER= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
|
||||
RUN_DEPENDS+= ${PODPARSER}
|
||||
BUILD_DEPENDS+= ${PODPARSER}
|
||||
.endif
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= SYSCONFDIR="${PREFIX}/etc" \
|
||||
@ -56,4 +60,4 @@ post-install:
|
||||
|
||||
@${SED} -e 's#PREFIX#/usr/local#' pkg-message
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user