ports/114849: [patch] irc/weechat: cleanup

Gabor Kovesdan gabor at FreeBSD.org
Tue Jul 24 06:50:02 UTC 2007


>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:



More information about the freebsd-ports-bugs mailing list