UniversalLibiconv: libiconv.diff
File libiconv.diff, 809 bytes (added by pipping@…, 18 years ago) |
---|
-
textproc/libiconv/Portfile
31 31 32 32 extract.only ${distname}${extract.suffix} 33 33 34 pre-fetch { 35 if {[variant_isset universal]} { 36 if {![llength [info commands registry_active]]} { 37 return -code error "+universal variant requires MacPorts 1.4" 38 } 39 if {![catch {registry_active libiconv}]} { 40 return -code error "libiconv needs to be deactivated/uninstalled \ 41 before +universal variant can be installed" 42 } 43 } 44 } 45 34 46 post-patch { 35 47 if {![variant_isset disable_utf8mac]} { 36 48 system "cd ${worksrcpath} && patch -p1 < ${filespath}/utf8mac.diff"