- Use USE_PERL5 correctly
- Remove 4.X leftovers - Remove old Perl support PR: ports/114849 Submitted by: gabor Approved by: maintainer (az, via irc)
This commit is contained in:
parent
86b2339724
commit
661a9d89fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196253
@ -80,23 +80,13 @@ LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls
|
||||
CONFIGURE_ARGS+= --disable-gnu-tls
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= this port does not compile on FreeBSD 4.x.
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PERL)
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
IGNORE= this port requires perl 5.6.0 or later, Install lang/perl5 then try again
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-perl
|
||||
USE_PERL= yes
|
||||
USE_PERL5= yes
|
||||
PLIST_SUB+= PERL=""
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-perl
|
||||
PLIST_SUB+= PERL="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -80,23 +80,13 @@ LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls
|
||||
CONFIGURE_ARGS+= --disable-gnu-tls
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= this port does not compile on FreeBSD 4.x.
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PERL)
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
IGNORE= this port requires perl 5.6.0 or later, Install lang/perl5 then try again
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-perl
|
||||
USE_PERL= yes
|
||||
USE_PERL5= yes
|
||||
PLIST_SUB+= PERL=""
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-perl
|
||||
PLIST_SUB+= PERL="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user