Bug#35763: kapptemplate fails on FreeBSD

jjinux at yahoo.com jjinux at yahoo.com
Wed Dec 5 03:19:02 UTC 2001


Package: kdevelop
Version: kdesdk-2.2.1 (using KDE 2.2.1 )
Severity: normal
Installed from:    FreeBSD Ports
Compiler:          g++ 2.95.3
OS:                FreeBSD
OS/Compiler notes: FreeBSD 4.4-RELEASE

Patch included.

Concerning kdesdk:

In kapptemplate.common:

302c302
<          FILES=`cd $DIRECTORY; find . ! -name "*~" -maxdepth 1 -type f -print | sed 's,^\./,,'`;
---
>          FILES=`cd $DIRECTORY; find . ! -name "*~" -maxdepth 1 -type f -print | sed 's,^\./,,' | sort`;

This is a bug that was recently caused by another bug fix.  "ls" implicitly sorts, whereas "find" doesn't (at least from what I can see).  Notice, I did not use the "-s" flag for "sort" because the man page suggests that it is not portable.

Next:

On my FreeBSD system "make" is not symlinked to "gmake".  The FreeBSD version of "make" cannot be used to build KDE software--"gmake" must be used instead.  Would it be possible to always refer to "gmake" (I don't know if that symlink exists on Linux systems) or perhaps set "$MAKE", the same way that "$MKDIR" is being set?


(Submitted via bugs.kde.org)





More information about the KDevelop-devel mailing list