Ignore:
Timestamp:
Nov 11, 2008, 6:53:51 AM (11 years ago)
Author:
ryandesign@…
Message:

gnet:

  • add variant descriptions
  • mark conflicting variants as such
  • make glib2 the default only if glib1 has not already been chosen
  • fix mtree violation (manpage)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/gnet/Portfile

    r41808 r41844  
    44name            gnet
    55version         1.1.8
     6revision        1
    67categories      devel
    78maintainers     nomaintainer
     
    1718checksums       md5 da2b5de278e96a5b907c2e2304bf6542
    1819
    19 default_variants +glib2
     20configure.args  --mandir=${prefix}/share/man
    2021
    21 variant glib1   { depends_lib lib:libglib.1:glib1 }
    22 variant glib2   { depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
    23                   configure.args --enable-glib2 }
     22if {![variant_isset glib1]} {
     23        default_variants +glib2
     24}
     25
     26variant glib1 conflicts glib2 description {Use glib1} { depends_lib lib:libglib.1:glib1 }
     27variant glib2 conflicts glib1 description {Use glib2 (default)} { depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
     28                  configure.args-append --enable-glib2 }
Note: See TracChangeset for help on using the changeset viewer.