[MacPorts] #16744: Allow universal builds in clucene, cyrus-sasl2, gpgme, flac, pth, boost and cdparanoia

MacPorts noreply at macports.org
Sat Apr 11 13:02:56 PDT 2009


#16744: Allow universal builds in clucene, cyrus-sasl2, gpgme, flac, pth, boost and
cdparanoia
----------------------------------+-----------------------------------------
 Reporter:  illogical1@…          |       Owner:  macports-tickets@…                                 
     Type:  defect                |      Status:  new                                                
 Priority:  Normal                |   Milestone:  Port Bugs                                          
Component:  ports                 |     Version:  1.6.0                                              
 Keywords:  universal build       |        Port:  clucene cyrus-sasl2 gpgme flac pth boost cdparanoia
----------------------------------+-----------------------------------------

Comment(by illogic-al@…):

 Updated for new cyrus-sasl2
 {{{
 Index: ../security/cyrus-sasl2/Portfile
 ===================================================================
 --- ../security/cyrus-sasl2/Portfile    (revision 49527)
 +++ ../security/cyrus-sasl2/Portfile    (working copy)
 @@ -4,6 +4,7 @@

  name                   cyrus-sasl2
  version                        2.1.22
 +revision               1
  categories             security net
  maintainers            jmpp landonf
  description            SASL is an authentication library.
 @@ -44,8 +45,6 @@

  use_parallel_build  yes

 -universal_variant no
 -
  # This is a start towards universal... lib/Makefile.am and
 sasldb/Makefile.am need to be updated to not do blind ar-fu
  #depends_build \
  #      port:autoconf \
 @@ -100,6 +99,16 @@

  variant static description "Build static library" { configure.args-append
 --enable-static }

 +variant universal {
 +    post-configure {
 +        reinplace "s|^\\(archive_cmds\=\"\\\\\$CC\\)|\\1 \
 +        -Wl,-syslibroot,$sysroot ${configure.universal_ldflags} \
 +        -mmacosx-version-min=10.4 |g" ${worksrcpath}/libtool
 +        # Only if compiling using 10.4 SDK on 10.5. Need to find proper
 fix
 +         reinplace "s|#include <gssapi.h>|#include <gssapi/gssapi.h>|"
 ${worksrcpath}/plugins/gssapi.c
 +    }
 +}
 +
  livecheck.check regex
  livecheck.url   http://ftp.andrew.cmu.edu/pub/cyrus-mail/
  livecheck.regex {cyrus-sasl-(\d+(?:\.\d+)*)}

 }}}

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


More information about the macports-tickets mailing list