aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2007-07-25 15:27:23 +0800
committergabor <gabor@FreeBSD.org>2007-07-25 15:27:23 +0800
commit75109f9b91f49c952052a5bc822743804fce6b63 (patch)
tree08e06e58e799722ef464e83715397c0442ce6587 /irc
parent0997582b4b7facf5c3ee3f0d3c7b0f0402aee22b (diff)
downloadfreebsd-ports-gnome-75109f9b91f49c952052a5bc822743804fce6b63.tar.gz
freebsd-ports-gnome-75109f9b91f49c952052a5bc822743804fce6b63.tar.zst
freebsd-ports-gnome-75109f9b91f49c952052a5bc822743804fce6b63.zip
- Use USE_PERL5 correctly
- Remove 4.X leftovers - Remove old Perl support PR: ports/114849 Submitted by: gabor Approved by: maintainer (az, via irc)
Diffstat (limited to 'irc')
-rw-r--r--irc/weechat-devel/Makefile14
-rw-r--r--irc/weechat/Makefile14
2 files changed, 4 insertions, 24 deletions
diff --git a/irc/weechat-devel/Makefile b/irc/weechat-devel/Makefile
index a6319edfcd4d..08c53e32d36d 100644
--- a/irc/weechat-devel/Makefile
+++ b/irc/weechat-devel/Makefile
@@ -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>
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile
index a6319edfcd4d..08c53e32d36d 100644
--- a/irc/weechat/Makefile
+++ b/irc/weechat/Makefile
@@ -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>