[MacPorts] #15033: make openssl universal_archs-aware

MacPorts noreply at macports.org
Thu May 29 05:42:26 PDT 2008

#15033: make openssl universal_archs-aware
  Reporter:  jmr at macports.org  |       Owner:  mww at macports.org 
      Type:  enhancement       |      Status:  new              
  Priority:  Normal            |   Milestone:  Port Enhancements
 Component:  ports             |     Version:                   
Resolution:                    |    Keywords:  haspatch         
Comment (by ryandesign at macports.org):

 Improvements in my second patch (w.r.t. my first patch):

  * uses `--no-backup-if-mismatch` on the patch command, because jmr's new
 patch does (why?)
  * borrows the `${first_arch}` code from the cairo port
    * saves a copy during the post-patch phase
    * saves a diff during the diff phase
    * diffs correctly even if the user did not request the i386 arch

 Problems remaining: the patch fails when I request all four architectures?

 Error: Target org.macports.destroot returned: shell command "cd
 /pre-dest/ppc64/opt/local && patch --no-backup-if-mismatch -p0 <
 opensslconf.h-64.diff" returned error 1
 Command output: patching file include/openssl/opensslconf.h
 Hunk #1 FAILED at 134.
 Hunk #3 FAILED at 180.
 2 out of 3 hunks FAILED -- saving rejects to file

Ticket URL: <http://trac.macports.org/ticket/15033#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS

More information about the macports-tickets mailing list