Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2009 17:36:05 -0700 (PDT)
From:      Daniel Bretoi <daniel@netwalk.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        az@FreeBSD.org
Subject:   ports/134104: [PATCH] irc/weechat: [SUMMARIZE CHANGES]
Message-ID:  <200904300036.n3U0a4jX015402@nero.netwalk.org>
Resent-Message-ID: <200904300040.n3U0e26E051652@freefall.freebsd.org>

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

>Number:         134104
>Category:       ports
>Synopsis:       [PATCH] irc/weechat: [SUMMARIZE CHANGES]
>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:   Thu Apr 30 00:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Bretoi
>Release:        FreeBSD 7.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD nero.netwalk.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Jan  6 23:58:08 PST
>Description:
[DESCRIBE CHANGES]

Added OPTIONS to remember configurations from compile to compile

Port maintainer (az@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- weechat-0.2.6.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/irc/weechat/Makefile /usr/home/debonair/myports/weechat/Makefile
--- /usr/ports/irc/weechat/Makefile	2009-04-28 09:20:42.000000000 -0700
+++ /usr/home/debonair/myports/weechat/Makefile	2009-04-29 17:34:24.000000000 -0700
@@ -20,31 +20,44 @@
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-lua
+USE_PYTHON=	yes
+USE_RUBY=	yes
+USE_GETTEXT=	yes
 
 MAN1=	weechat-curses.1
 
-.if defined(WITH_DEBUG)
+OPTIONS=	RUBY "Ruby scripting support." off \
+		PYTHON "Python scripting support." off \
+		PERL "Perl scripting support." off \
+		CHARSET "Charset support." on \
+		DEBUG "Debugging." off \
+		ASPELL "Spell checking." off \
+		GNUTLS "GNU TLS." off \
+		NLS "NLS support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_DEBUG)
 CONFIGURE_ARGS+=	--with-debug=2
 .else
 CONFIGURE_ARGS+=	--with-debug=0
 .endif
 
-.if defined(WITHOUT_CHARSET)
+.if !defined(WITHOUT_CHARSET)
 CONFIGURE_ARGS+=	--disable-charset
 PLIST_SUBS+=	CHARSET="@comment"
 .else
 PLIST_SUB+=	CHARSET=""
 .endif
 
-.if defined(WITHOUT_NLS)
+.if !defined(WITHOUT_NLS)
 CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .else
-USE_GETTEXT=	yes
 PLIST_SUB+=	NLS=""
 .endif
 
-.if defined(WITH_ASPELL)
+.if !defined(WITHOUT_ASPELL)
 CONFIGURE_ARGS+=	--enable-aspell
 BUILD_DEPENDS+=	aspell:${PORTSDIR}/textproc/aspell
 PLIST_SUB+=	ASPELL=""
@@ -53,32 +66,30 @@
 PLIST_SUB+=	ASPELL="@comment "
 .endif
 
-.if defined(WITH_PYTHON)
+.if !defined(WITHOUT_PYTHON)
 CONFIGURE_ARGS+=	--enable-python
-USE_PYTHON=	yes
 PLIST_SUB+=	PYTHON=""
 .else
 CONFIGURE_ARGS+=	--disable-python
 PLIST_SUB+=	PYTHON="@comment "
 .endif
 
-.if defined(WITH_RUBY)
+.if !defined(WITHOUT_RUBY)
 CONFIGURE_ARGS+=	--enable-ruby
-USE_RUBY=	yes
 PLIST_SUB+=	RUBY=""
 .else
 CONFIGURE_ARGS+=	--disable-ruby
 PLIST_SUB+=	RUBY="@comment "
 .endif
 
-.if defined(WITH_GNUTLS)
+.if !defined(WITHOUT_GNUTLS)
 CONFIGURE_ARGS+=	--enable-gnutls
 LIB_DEPENDS+=	gnutls.26:${PORTSDIR}/security/gnutls
 .else
 CONFIGURE_ARGS+=	--disable-gnu-tls
 .endif
 
-.if defined(WITH_PERL)
+.if !defined(WITHOUT_PERL)
 CONFIGURE_ARGS+=	--enable-perl
 USE_PERL5=	yes
 PLIST_SUB+=	PERL=""
@@ -90,4 +101,4 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- weechat-0.2.6.2.patch ends here ---

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



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