From owner-freebsd-ports@FreeBSD.ORG Wed Mar 3 12:47:48 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACE2516A4CE; Wed, 3 Mar 2004 12:47:48 -0800 (PST) Received: from hex.athame.co.uk (guru164.netsonic.fi [194.29.193.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2C9043D1F; Wed, 3 Mar 2004 12:47:47 -0800 (PST) (envelope-from andy@athame.co.uk) Received: from vimes.int.athame.co.uk ([192.168.1.3]) by hex.athame.co.uk with esmtp (Exim 4.30; FreeBSD) id 1AydHM-000KUV-Hq; Wed, 03 Mar 2004 22:47:44 +0200 From: Andy Fawcett Organization: Being Lazy At Home (BLAH!) To: freebsd-ports@freebsd.org Date: Wed, 3 Mar 2004 22:47:51 +0200 User-Agent: KMail/1.6 References: <200403031031.16249.info@acst.de> <200403031216.20761.markus@brueffer.de> <20040303135303.GP13724@sirius.firepipe.net> In-Reply-To: <20040303135303.GP13724@sirius.firepipe.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_3RkRAFrdN+/wfrB" Message-Id: <200403032247.51423.andy@athame.co.uk> cc: ports@FreeBSD.org cc: frank.liebelt@acst.de cc: kde@freebsd.org cc: Frank cc: Markus Brueffer Subject: Re: FreeBSD Port: kdevelop-3.0.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 20:47:48 -0000 --Boundary-00=_3RkRAFrdN+/wfrB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wednesday 03 March 2004 15:53, Will Andrews wrote: > On Wed, Mar 03, 2004 at 12:16:14PM +0100, Markus Brueffer wrote: > > On Wednesday 03 March 2004 10:31, Frank wrote: > > > I have installed KDevelop 3.0.0 using cvsup. (self compiled) > > > Now i have the problem that i cant compile any projects i have > > > created for this reason: > > > > Until the port is fixed (see Andy's post), you can make it work by > > using some symlinks: > > > > Create a ~/bin in you homedir and add it to your $PATH. Within > > ~/bin make symlinks to all needed auto* -tools. This is how I use > > it and how it works: > > > > aclocal -> /usr/local/bin/aclocal17 > > autoconf -> /usr/local/bin/autoconf257 > > autoheader -> /usr/local/bin/autoheader257 > > autom4te -> /usr/local/bin/autom4te257 > > automake -> /usr/local/bin/automake17 > > autoreconf -> /usr/local/bin/autoreconf257 > > autoscan -> /usr/local/bin/autoscan257 > > autoupdate -> /usr/local/bin/autoupdate257 > > ifnames -> /usr/local/bin/ifnames257 > > http://firepipe.net/stuff/setup-acam-fbsd.sh Yep, that works, but please try this if you can save the attached shar out cd /usr/ports/devel/kdevelop sh make make deinstall make reinstall make clean :) run kdevelop create a brand new project try to build it. I've tested this here locally, with a simple KDE project, and it detects autofuck tools correctly, even if I have several versions of each installed, including older than required. Please, give me feedback, kde@ would really like to get this in the next release of kdevelop. The projects it creates should be portable to other unix systems too. I'd like feedback on that too, if possible. Cheers, Andy (one of Will's minions) -- Andy Fawcett | andy@athame.co.uk | tap@kde.org "In an open world without walls and fences, | tap@lspace.org we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org --Boundary-00=_3RkRAFrdN+/wfrB Content-Type: text/plain; charset="iso-8859-1"; name="kdevelop.shar" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kdevelop.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./Makefile # ./files # ./files/patch-embedded-detect-autoconf.sh # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: kdevelop X# Date created: 12 Aug 1999 X# Whom: Will Andrews X# X# $FreeBSD: ports/devel/kdevelop/Makefile,v 1.57 2004/02/07 09:30:22 lofi Exp $ X# X XPORTNAME= kdevelop XPORTVERSION= 3.0.0 XCATEGORIES?= devel kde XMASTER_SITES= ${MASTER_SITE_KDE} XMASTER_SITE_SUBDIR= stable/${KDE_VERSION:S/.0//}/src X# DISTNAME= ${KDE_DISTNAME} XDIST_SUBDIR= KDE X XMAINTAINER?= kde@FreeBSD.org XCOMMENT= Powerful IDE for developing KDE/Qt-based apps X XBUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext XLIB_DEPENDS= db41:${PORTSDIR}/databases/db41 XRUN_DEPENDS= extractrc:${PORTSDIR}/devel/kdesdk3 \ X gmake:${PORTSDIR}/devel/gmake \ X autoconf257:${PORTSDIR}/devel/autoconf257 \ X automake17:${PORTSDIR}/devel/automake17 X.if defined(WITH_OPTIONAL_DEPENDS) XRUN_DEPENDS+= kiconedit:${PORTSDIR}/graphics/kdegraphics3 \ X ark:${PORTSDIR}/misc/kdeutils3 \ X glimpse:${PORTSDIR}/textproc/glimpse \ X a2ps:${PORTSDIR}/print/a2ps-letter X.endif X X# KDE_DISTNAME= ${PORTNAME}-${PORTVERSION}_for_KDE_3.1 XUSE_KDELIBS_VER=3 XUSE_BZIP2= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS+= --with-qtdoc-dir=${X11BASE}/share/doc/qt/html XUSE_REINPLACE= yes X X.include X.include "${PORTSDIR}/x11/kde3/Makefile.kde" X Xpre-everything:: X.if !defined(WITH_OPTIONAL_DEPENDS) X @${ECHO_MSG} X @${ECHO_MSG} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)" X @${ECHO_MSG} "to automatically build the suggested programs to compliment kdevelop." X @${ECHO_MSG} X.endif X Xpost-patch: X ${TOUCH} -t 200401230000 ${WRKSRC}/Makefile.am.in X Xpre-configure: X ${REINPLACE_CMD} -e 's@extractrc@@g' ${WRKSRC}/Makefile.in X ${REINPLACE_CMD} -e 's@$$CXXFLAGS $$X_CFLAGS -ldb@-I/usr/local/include/db41 $$CXXFLAGS $$X_CFLAGS -L/usr/local/lib -ldb41@' ${WRKSRC}/configure X ${REINPLACE_CMD} -e 's@INCLUDES = $$(all_includes)@INCLUDES = -I/usr/local/include/db41 $$(all_includes)@' ${WRKSRC}/lib/catalog/Makefile.in X ${REINPLACE_CMD} -e 's@libkdevcatalog_la_LIBADD = -ldb@libkdevcatalog_la_LIBADD = -L/usr/local/lib -ldb41@' ${WRKSRC}/lib/catalog/Makefile.in X ${REINPLACE_CMD} -e 's@^all_includes = @all_includes = -I/usr/local/include/db41 @' ${WRKSRC}/languages/cpp/Makefile.in X ${REINPLACE_CMD} -e 's@^all_includes = @all_includes = -I/usr/local/include/db41 @' ${WRKSRC}/languages/java/Makefile.in X ${REINPLACE_CMD} -e 's@^all_includes = @all_includes = -I/usr/local/include/db41 @' ${WRKSRC}/languages/pascal/Makefile.in X X.include END-of-./Makefile echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-embedded-detect-autoconf.sh sed 's/^X//' >./files/patch-embedded-detect-autoconf.sh << 'END-of-./files/patch-embedded-detect-autoconf.sh' X--- parts/appwizard/common/admin/detect-autoconf.sh.orig Wed Mar 12 02:32:02 2003 X+++ parts/appwizard/common/admin/detect-autoconf.sh Wed Mar 3 22:32:24 2004 X@@ -13,53 +13,75 @@ X # our includer. The repeated type calls are not that expensive. X checkAutoconf() X { X- if test -x "`$WHICH autoconf-2.5x`" ; then X+ if test -x "`$WHICH autoconf-2.5x 2>/dev/null`" ; then X AUTOCONF="`$WHICH autoconf-2.5x`" X- elif test -x "`$WHICH autoconf-2.54`" ; then X+ elif test -x "`$WHICH autoconf-2.57 2>/dev/null`" ; then X+ AUTOCONF="`$WHICH autoconf-2.57`" X+ elif test -x "`$WHICH autoconf257 2>/dev/null`" ; then X+ AUTOCONF="`$WHICH autoconf257`" X+ elif test -x "`$WHICH autoconf-2.56 2>/dev/null`" ; then X+ AUTOCONF="`$WHICH autoconf-2.56`" X+ elif test -x "`$WHICH autoconf-2.55 2>/dev/null`" ; then X+ AUTOCONF="`$WHICH autoconf-2.55`" X+ elif test -x "`$WHICH autoconf-2.54 2>/dev/null`" ; then X AUTOCONF="`$WHICH autoconf-2.54`" X- elif test -x "`$WHICH autoconf-2.53`" ; then X+ elif test -x "`$WHICH autoconf-2.53 2>/dev/null`" ; then X AUTOCONF="`$WHICH autoconf-2.53`" X- elif test -x "`$WHICH autoconf-2.53a`" ; then X+ elif test -x "`$WHICH autoconf-2.53a 2>/dev/null`" ; then X AUTOCONF="`$WHICH autoconf-2.53a`" X- elif test -x "`$WHICH autoconf-2.52`" ; then X+ elif test -x "`$WHICH autoconf-2.52 2>/dev/null`" ; then X AUTOCONF="`$WHICH autoconf-2.52`" X- elif test -x "`$WHICH autoconf2.50`" ; then X+ elif test -x "`$WHICH autoconf2.50 2>/dev/null`" ; then X AUTOCONF="`$WHICH autoconf2.50`" X fi X } X X checkAutoheader() X { X- if test -x "`$WHICH autoheader-2.5x`" ; then X+ if test -x "`$WHICH autoheader-2.5x 2>/dev/null`" ; then X AUTOHEADER="`$WHICH autoheader-2.5x`" X AUTOM4TE="`$WHICH autom4te-2.5x`" X- elif test -x "`$WHICH autoheader-2.54`" ; then X+ elif test -x "`$WHICH autoheader-2.57 2>/dev/null`" ; then X+ AUTOHEADER="`$WHICH autoheader-2.57`" X+ AUTOM4TE="`$WHICH autom4te-2.57`" X+ elif test -x "`$WHICH autoheader257 2>/dev/null`" ; then X+ AUTOHEADER="`$WHICH autoheader257`" X+ AUTOM4TE="`$WHICH autom4te257`" X+ elif test -x "`$WHICH autoheader-2.56 2>/dev/null`" ; then X+ AUTOHEADER="`$WHICH autoheader-2.56`" X+ AUTOM4TE="`$WHICH autom4te-2.56`" X+ elif test -x "`$WHICH autoheader-2.55 2>/dev/null`" ; then X+ AUTOHEADER="`$WHICH autoheader-2.55`" X+ AUTOM4TE="`$WHICH autom4te-2.55`" X+ elif test -x "`$WHICH autoheader-2.54 2>/dev/null`" ; then X AUTOHEADER="`$WHICH autoheader-2.54`" X AUTOM4TE="`$WHICH autom4te-2.54`" X- elif test -x "`$WHICH autoheader-2.53`" ; then X+ elif test -x "`$WHICH autoheader-2.53 2>/dev/null`" ; then X AUTOHEADER="`$WHICH autoheader-2.53`" X AUTOM4TE="`$WHICH autom4te-2.53`" X- elif test -x "`$WHICH autoheader-2.53a`" ; then X+ elif test -x "`$WHICH autoheader-2.53a 2>/dev/null`" ; then X AUTOHEADER="`$WHICH autoheader-2.53a`" X AUTOM4TE="`$WHICH autom4te-2.53a`" X- elif test -x "`$WHICH autoheader-2.52`" ; then X+ elif test -x "`$WHICH autoheader-2.52 2>/dev/null`" ; then X AUTOHEADER="`$WHICH autoheader-2.52`" X- elif test -x "`$WHICH autoheader2.50`" ; then X+ elif test -x "`$WHICH autoheader2.50 2>/dev/null`" ; then X AUTOHEADER="`$WHICH autoheader2.50`" X fi X } X X checkAutomakeAclocal () X { X- if test -z "$UNSERMAKE"; then X- if test -x "`$WHICH automake-1.6`" ; then X- AUTOMAKE="`$WHICH automake-1.6`" X- ACLOCAL="`$WHICH aclocal-1.6`" X- elif test -x "`$WHICH automake-1.7`" ; then X- AUTOMAKE="`$WHICH automake-1.7`" X- ACLOCAL="`$WHICH aclocal-1.7`" X- fi X- else X+ if test -x "`$WHICH automake-1.6 2>/dev/null`" ; then X+ AUTOMAKE="`$WHICH automake-1.6`" X+ ACLOCAL="`$WHICH aclocal-1.6`" X+ elif test -x "`$WHICH automake-1.7 2>/dev/null`" ; then X+ AUTOMAKE="`$WHICH automake-1.7`" X+ ACLOCAL="`$WHICH aclocal-1.7`" X+ elif test -x "`$WHICH automake17 2>/dev/null`" ; then X+ AUTOMAKE="`$WHICH automake17`" X+ ACLOCAL="`$WHICH aclocal17`" X+ fi X+ if test -n "$UNSERMAKE"; then X AUTOMAKE="$UNSERMAKE" X fi X } END-of-./files/patch-embedded-detect-autoconf.sh exit --Boundary-00=_3RkRAFrdN+/wfrB--