From nobody@FreeBSD.org  Thu Dec 25 12:51:20 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2867D106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Dec 2008 12:51:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DA0D48FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Dec 2008 12:51:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mBPCpJlq018306
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Dec 2008 12:51:19 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mBPCpJ5W018305;
	Thu, 25 Dec 2008 12:51:19 GMT
	(envelope-from nobody)
Message-Id: <200812251251.mBPCpJ5W018305@www.freebsd.org>
Date: Thu, 25 Dec 2008 12:51:19 GMT
From: Henry Hu <henry.hu.sh@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Wrong configure argument in devel/codeblocks
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         129926
>Category:       ports
>Synopsis:       Wrong configure argument in devel/codeblocks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 25 13:00:07 UTC 2008
>Closed-Date:    Sat Jan 17 10:46:00 CET 2009
>Last-Modified:  Sat Jan 17 10:46:00 CET 2009
>Originator:     Henry Hu
>Release:        FreeBSD 7-STABLE
>Organization:
Tsinghua University, Beijing, China
>Environment:
FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #22: Fri Oct 17 16:50:55 CST 2008     root@:/usr/obj/usr/src/sys/MYKERNEL  i386

>Description:
In devel/codeblocks/Makefile:

CONFIGURE_ARGS+=	--with-wx-config=${WX_CONFIG} --with-contrib-plugins=All

But it should be --with-contrib-plugins=all, since the contrib plugins are not built now, and are built if I change All to all.
See configure line 23788:

{ echo "$as_me:$LINENO: checking which (if any) contrib plugins to build" >&5
echo $ECHO_N "checking which (if any) contrib plugins to build... $ECHO_C" >&6; }

# Check whether --with-contrib-plugins was given.
if test "${with_contrib_plugins+set}" = set; then
  withval=$with_contrib_plugins; plugins="$withval"
else
  plugins="none"
fi


plugins=`echo $plugins | sed 's/,/ /g'`
for plugin in $plugins
do
    case "$plugin" in
	all)

>How-To-Repeat:
1. Install code::blocks from devel/codeblocks
2. Start code::blocks and see plugin list
>Fix:


Patch attached with submission follows:

--- Makefile.orig	2008-12-25 20:50:33.000000000 +0800
+++ Makefile	2008-12-25 20:43:43.000000000 +0800
@@ -27,7 +27,7 @@
 USE_LDCONFIG=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-CONFIGURE_ARGS+=	--with-wx-config=${WX_CONFIG} --with-contrib-plugins=All
+CONFIGURE_ARGS+=	--with-wx-config=${WX_CONFIG} --with-contrib-plugins=all
 MAN1=	cb_console_runner.1 cb_share_config.1 codeblocks.1
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 25 13:00:16 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129926 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129926: commit references a PR
Date: Sat, 17 Jan 2009 09:36:44 +0000 (UTC)

 dinoex      2009-01-17 09:36:30 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/codeblocks     Makefile pkg-plist 
   Log:
   - enable plugins
   PR:             129926
   Submitted by:   Henry Hu
   
   - switch to wx2.8 unicode to build wxsmith
   - add plugins to plist
   
   Revision  Changes    Path
   1.9       +4 -3      ports/devel/codeblocks/Makefile
   1.3       +206 -1    ports/devel/codeblocks/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Sat Jan 17 10:45:36 CET 2009 
State-Changed-Why:  
committed with changes, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129926 
>Unformatted:
