On Mon, Oct 02, 2006, Doug Summers wrote:
> I'm trying to edit the emacs.spec file to make a change to configure.in
> for this line (#589):
>
> rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1* ) # current
> rs6000-ibm-aix5.* | powerpc-ibm-aix5.* ) # new
>
> I want to add the change under the %prep section:
>
> case "%{l_platform -p}" in
> ix86-fedora4 ) %{l_shtool} subst -e 's;/\* \(#define
> CANNOT_DUMP\) \*/;\1
> 1;' src/m/intel386.h ;;
> powerpc-aix5.*) ;;
> esac
>
> Can you give me some help on the 'subst -e' syntax?
%{l_shtool} subst -e 's;-aix5\.1;-aix5.*;g' configure
should do the trick for you...
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]