[MacPorts] #19184: add no_x11 variant for giflib and libungif

MacPorts noreply at macports.org
Sun Apr 5 12:29:15 PDT 2009


#19184: add no_x11 variant for giflib and libungif
-------------------------------------+--------------------------------------
 Reporter:  illogic-al@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  Port Bugs                            
Component:  ports                    |     Version:  1.7.1                                
 Keywords:                           |        Port:  giflib a                             
-------------------------------------+--------------------------------------
 I have a patch here to include the no_x11 variant in giflib as it does not
 need it. I've been using it with my own kde portfiles for months now to no
 ill effect.
 As the kde4 based ports don't require X, it would be good to have this
 variant available.

 {{{
 Index: ../graphics/giflib/Portfile
 ===================================================================
 --- ../graphics/giflib/Portfile (revision 47836)
 +++ ../graphics/giflib/Portfile (working copy)
 @@ -28,4 +28,10 @@

  use_parallel_build              yes

 +variant no_x11 {
 +    depends_lib-delete          port:xorg-libsm \
 +                                port:xorg-libX11
 +    patchfiles-delete           patch-gif_lib.h.diff
 +}
 +
  livecheck.regex                 "<title>${name} [lindex [split ${version}
 .] 0].x ${name}-(\\d+(?:\\.\\d+)*) released .*</title>"
 }}}

 I would also be fine with a x11 variant (as with libungif port)

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


More information about the macports-tickets mailing list