OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Jun-2007 16:45:19
Branch: HEAD Handle: 2007060615451900
Modified files:
openpkg-src/openpkg-import
openpkg-import.spec
Log:
use wrapper scripts instead of symlinks as Mac OS seems to dislike
symlinks for gcc
Summary:
Revision Changes Path
1.17 +4 -1 openpkg-src/openpkg-import/openpkg-import.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg-import/openpkg-import.spec
============================================================================
$ cvs diff -u -r1.16 -r1.17 openpkg-import.spec
--- openpkg-src/openpkg-import/openpkg-import.spec 6 Jun 2007 14:42:28
-0000 1.16
+++ openpkg-src/openpkg-import/openpkg-import.spec 6 Jun 2007 14:45:19
-0000 1.17
@@ -91,7 +91,10 @@
for tool_name in gcc g++ c%{l_nil}c c++ cpp; do
tool_path="`%{l_shtool} path
-p/bin:/usr/bin:/sbin:/usr/sbin:/usr/ccs/bin $tool_name`"
if [ ".$tool_path" != . ]; then
- ln -s $tool_path $RPM_BUILD_ROOT%{l_prefix}/bin/$tool_name
+ ( echo "#!/bin/sh"
+ echo "exec $tool_path \"[EMAIL PROTECTED]""
+ ) >$RPM_BUILD_ROOT%{l_prefix}/bin/$tool_name
+ chmod a+x $RPM_BUILD_ROOT%{l_prefix}/bin/$tool_name
fi
done
%endif
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]