Browse Source

Cleaned sed by using configcache list

early
Alejandro Mery 18 years ago
parent
commit
1a21ab879d
  1. 12
      base/sed/sed.conf

12
base/sed/sed.conf

@ -1,7 +1,8 @@
# --- T2-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# T2 SDE: package/.../sed/sed.conf # Filename: package/.../sed/sed.conf
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -11,9 +12,12 @@
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
# workaround for sed configure getline disabling in stage 1 # workaround for sed configure getline disabling in stage 1
hook_add preconf 5 "echo am_cv_func_working_getline=yes >> config.cache" if ! atstage native; then
var_append configcache ' ' 'am_cv_func_working_getline=yes'
fi
hook_add postmake 5 "mv -v $root/usr/bin/sed $root/bin/sed" hook_add postmake 5 "mv -v $root/usr/bin/sed $root/bin/sed"

Loading…
Cancel
Save