OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   13-Mar-2005 20:33:10
  Branch: HEAD                             Handle: 2005031319331000

  Modified files:
    openpkg-src/emacs       emacs.spec

  Log:
    fix building under with_leim=yes and building under Exec-shield
    enabled Linux platforms

  Summary:
    Revision    Changes     Path
    1.53        +8  -3      openpkg-src/emacs/emacs.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/emacs/emacs.spec
  ============================================================================
  $ cvs diff -u -r1.52 -r1.53 emacs.spec
  --- openpkg-src/emacs/emacs.spec      17 Feb 2005 18:20:16 -0000      1.52
  +++ openpkg-src/emacs/emacs.spec      13 Mar 2005 19:33:10 -0000      1.53
  @@ -39,7 +39,7 @@
   Group:        Editor
   License:      GPL
   Version:      %{V_emacs}
  -Release:      20050217
  +Release:      20050313
   
   #   package options
   %option       with_x11       no
  @@ -111,7 +111,7 @@
   %prep
       %setup -q -n emacs-%{V_subdir}
   %if "%{with_leim}" == "yes"
  -    %setup -q -T -D -b 1
  +    %setup -q -n emacs-%{V_subdir} -T -D -b 1
   %endif
       %patch -p0
   
  @@ -170,7 +170,12 @@
           --with-x-toolkit=no \
           --without-x
   %endif
  -    %{l_make} %{l_mflags -O}
  +    cmd="%{l_make} %{l_mflags -O}"
  +    if [ ".`uname -s`" = .Linux ] && %{l_shtool} path -s setarch; then
  +        #   work-around conflicting Exec-shield security feature
  +        cmd="setarch i386 $cmd"
  +    fi
  +    eval $cmd
   
   %install
       rm -rf $RPM_BUILD_ROOT
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to