Browse Source

fixed findutils to install xargs in /bin and create a /usr/bin symlink

(this undos parts of rev 660)


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1478 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
ffba11a291
2 changed files with 14 additions and 5 deletions
  1. +5
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +9
    -5
      package/base/findutils/findutils.conf

+ 5
- 0
Documentation/Developers/CHANGELOG-RENE

@ -1,4 +1,9 @@
*) 2003-09-21 (2.0.0-rc1 - 2.0.0-rc2)
- fixed findutils to install xargs in /bin and create a /usr/bin symlink
(this undos parts of rev 660)
*) 2003-09-20 (2.0.0-rc1 - 2.0.0-rc2)
- added pmg321

+ 9
- 5
package/base/findutils/findutils.conf

@ -20,13 +20,17 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
fu_pm() {
# INSTALL_WRAPPER_FILTER needs to be empty to not filter the symlink
INSTALL_WRAPPER_FILTER="" ln -sfv ../../bin/find $root/usr/bin/find
INSTALL_WRAPPER_FILTER="" ln -sfv ../../bin/xargs $root/usr/bin/xargs
rmdir $root/usr/var || true
}
var_append INSTALL_WRAPPER_FILTER "|" \
'sed -e "s,usr/bin/find,bin/find,"'
"sed -e 's,usr/bin/find,bin/find,' -e 's,usr/bin/xargs,bin/xargs,'"
# INSTALL_WRAPPER_FILTER needs to be empty to not filter the symlink ...
hook_add postmake 3 "INSTALL_WRAPPER_FILTER="" ln -sfv ../../bin/find \
$root/usr/bin/find ; \
rmdir $root/usr/var || true"
hook_add postmake 3 "fu_pm"
export CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"

Loading…
Cancel
Save