[MacPorts] #38193: stellarium: remove unused code

MacPorts noreply at macports.org
Sun Feb 24 14:56:57 PST 2013


#38193: stellarium: remove unused code
--------------------------+------------------------
 Reporter:  ryandesign@…  |      Owner:  raimue@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.1.3
 Keywords:                |       Port:  stellarium
--------------------------+------------------------
 In the stellarium portfile, these lines don't appear to be doing anything
 and could be removed:

 {{{
     # Determine which archs to build
     if {[variant_isset universal]} {
         set archs ${configure.universal_archs}
     } else {
         set archs ${configure.build_arch}
     }
     reinplace "s:SET(CMAKE_OSX_ARCHITECTURES
 \"i386;ppc\"):SET(CMAKE_OSX_ARCHITECTURES \"${archs}\"):"
 ${worksrcpath}/CMakeLists.txt
 }}}

 {{{
 platform darwin 9 {
     # Upgrade MacOSX SDK version to 10.5, for compatibility with qt4-mac
     post-patch {
         reinplace "s:-mmacosx-version-min=10.4:-mmacosx-version-min=10.5:"
 ${worksrcpath}/CMakeLists.txt
         reinplace "s:SET(CMAKE_OSX_DEPLOYMENT_TARGET
 \"10.4\"):SET(CMAKE_OSX_DEPLOYMENT_TARGET \"10.5\"):"
 ${worksrcpath}/CMakeLists.txt
         reinplace "s:MacOSX10.4u.sdk:MacOSX10.5.sdk:"
 ${worksrcpath}/CMakeLists.txt
     }
 }
 }}}

 {{{
 platform darwin 10 {
     # Upgrade MacOSX SDK version to 10.6, for compatibility with qt4-mac
     post-patch {
         reinplace "s:-mmacosx-version-min=10.4:-mmacosx-version-min=10.6:"
 ${worksrcpath}/CMakeLists.txt
         reinplace "s:SET(CMAKE_OSX_DEPLOYMENT_TARGET
 \"10.4\"):SET(CMAKE_OSX_DEPLOYMENT_TARGET \"10.6\"):"
 ${worksrcpath}/CMakeLists.txt
         reinplace "s:MacOSX10.4u.sdk:MacOSX10.6.sdk:"
 ${worksrcpath}/CMakeLists.txt
     }
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/38193>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list