[prev in list] [next in list] [prev in thread] [next in thread]
List: openpkg-users
Subject: Re: Emacs on AIX 5.x
From: "Ralf S. Engelschall" <rse () openpkg ! org>
Date: 2006-10-03 7:23:19
Message-ID: 20061003072319.GA1383 () engelschall ! com
[Download RAW message or body]
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
rse@engelschall.com
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List openpkg-users@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic