On Mon, Oct 02, 2006, Doug Summers wrote: > Ralf S. Engelschall wrote: > >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... > [...] > Here's what I added to the %prep section to make emacs build for AIX 5.1 > through 5.3 machines: > > %patch -p0 > case "%{l_platform -p}" in > ix86-fedora4 ) %{l_shtool} subst -e 's;/\* \(#define > CANNOT_DUMP\) \*/;\1 1;' src/m/intel386.h ;; > powerpc-aix5.*) %{l_shtool} subst -e > 's;rs6000-ibm-aix5\.1;rs6000-ibm-aix5\.;g' configure ; > %{l_shtool} subst -e 's;powerpc-ibm-aix5\.1;powerpc-ibm-a > ix5\.;g' configure ;; > esac
I've now fixed it (although with a patch file hunk) with emacs-21.4a-20061003, too. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org