Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2007 08:49:21 +0200 (CEST)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/114849: [patch] irc/weechat: cleanup
Message-ID:  <20070724064921.9AF30A49A3F@server.t-hosting.hu>
Resent-Message-ID: <200707240650.l6O6o10l060749@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114849
>Category:       ports
>Synopsis:       [patch] irc/weechat: cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 24 06:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gabor Kovesdan
>Release:        FreeBSD 6.2-RELEASE amd64
>Organization:
n/a
>Environment:
>Description:

I'm working on a cleanup of USE/WITH variables to be used properly.
Please see: http://www.freebsd.org/projects/ideas/#p-ports-cleanup-use

This patch
- Uses USE_PERL5 correctly
- Removes 4.X leftovers
- Removes old Perl support

>How-To-Repeat:
>Fix:

--- irc-weechat.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/irc/weechat/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile	1 Jul 2007 08:56:15 -0000	1.26
+++ Makefile	5 Jul 2007 08:03:52 -0000
@@ -80,23 +80,13 @@
 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>
--- irc-weechat.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070724064921.9AF30A49A3F>