I finally found the problem I have long had with the configure script in for
the kd3 meta port not working correctly. The problem is that the comm
program requires that it's input be sorted, and the configure script didn't
guarantee that. In fact, kdevelop is very early in the list of modules and
as a result, all the modules after kdevelop ended up being marked as turned
off if kdevelop was turned off. The fix is simple: just run the files
through sort before running comm on them:
Index: scripts/configure.kde3
===================================================================
RCS file: /usr/cvs/ports/x11/kde3/scripts/configure.kde3,v
retrieving revision 1.7
diff -u -r1.7 configure.kde3
--- scripts/configure.kde3 30 Aug 2004 19:55:39 -0000 1.7
+++ scripts/configure.kde3 12 Oct 2005 17:14:01 -0000
@@ -91,7 +91,7 @@
## Write out all the module names into a newline-delimited list...
if [ -f $tempallmodules ]; then
- ${ECHO} "$ALL_MODULES" | ${SED} -E -e 's/[[:space:]]+/ /g' |
${TR} '[:space:]' '\n' > $tempallmodules
+ ${ECHO} "$ALL_MODULES" | ${SED} -E -e 's/[[:space:]]+/ /g' |
${TR} '[:space:]' '\n' | sort > $tempallmodules
fi
## ...do the same for the selection made in the dialog, comm -23 the
@@ -99,7 +99,7 @@
if [ -s $tempselection ]; then
${CAT} $tempselection | ${SED} -E -e
's/KDEACCESS./KDEACCESSIBILITY/g' -e 's/[[:space:]]+/ /g' \
- -e 's/"//g' | ${TR} '[:space:]' '\n' > $tempprocessed
+ -e 's/"//g' | ${TR} '[:space:]' '\n' | sort > $tempprocessed
set `/usr/bin/comm -23 $tempallmodules $tempprocessed`
fi
--
John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd