Ticket #18190: Portfile.diff
File Portfile.diff, 1.4 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 45487 2009-01-16 16:03:53Z ryandesign@macports.org $ 2 2 3 3 PortSystem 1.0 4 PortGroup muniversal 1.0 4 5 5 6 name libiconv 6 7 version 1.12 … … 36 37 rmd160 2042116888ee28572c1f7bcc2756e4a29edfbad0 37 38 38 39 depends_build \ 39 bin:ed:ed \40 40 port:gperf 41 41 42 42 patchfiles \ … … 54 54 --disable-nls \ 55 55 --enable-extra-encodings 56 56 57 platform darwin { 58 patchfiles-append patch-stdint.in.h.diff 59 post-configure { 60 system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed && touch stamp-h1" 61 } 62 } 63 64 pre-build { 65 if {![variant_isset disable_utf8mac] || [variant_isset enable_cp932fix]} { 66 system "cd ${worksrcpath} && make -f Makefile.devel" 67 } 57 if {![variant_isset disable_utf8mac] || [variant_isset enable_cp932fix]} { 58 build.cmd ${build.cmd} CC=${configure.cc} -f Makefile.devel && ${build.cmd} 68 59 } 69 60 70 61 test.run yes 71 62 test.target check 72 63 73 platform darwin 8 {74 if {[variant_isset universal]} {75 # Fix universal build on PowerPC76 configure.ldflags-append "-isysroot ${sysroot}"77 }78 }79 80 64 platform freebsd { 81 65 patchfiles-append patch-Makefile.devel 82 66 pre-fetch { variant_set disable_utf8mac }