Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Dec 2008 12:51:19 GMT
From:      Henry Hu <henry.hu.sh@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129926: Wrong configure argument in devel/codeblocks
Message-ID:  <200812251251.mBPCpJ5W018305@www.freebsd.org>
Resent-Message-ID: <200812251300.mBPD07dV092063@freefall.freebsd.org>

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

>Number:         129926
>Category:       ports
>Synopsis:       Wrong configure argument in devel/codeblocks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 25 13:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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