From 1a21ab879d20d70d5bdc711c2064d6a46011990a Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 17 Jul 2007 23:28:01 +0000 Subject: [PATCH] Cleaned sed by using configcache list --- base/sed/sed.conf | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/base/sed/sed.conf b/base/sed/sed.conf index 15e71affe..0b5e4f0ac 100644 --- a/base/sed/sed.conf +++ b/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. # -# 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) 1998 - 2003 Clifford Wolf # @@ -11,9 +12,12 @@ # 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 # 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 -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"