Ticket #25614: patch-Portfile-universal.diff
File patch-Portfile-universal.diff, 615 bytes (added by cssdev, 14 years ago) |
---|
-
Portfile
40 40 41 41 platform darwin { 42 42 post-configure { 43 reinplace "s|/usr/lib/libcurses|${prefix}/lib/libncurses|g" ${worksrcpath}/CMakeCache.txt 43 if {[variant_isset universal]} { 44 set dirs {} 45 foreach arch ${universal_archs_to_use} { 46 lappend dirs ${worksrcpath}-${arch} 47 } 48 } else { 49 set dirs ${worksrcpath} 50 } 51 foreach dir ${dirs} { 52 reinplace "s|/usr/lib/libcurses|${prefix}/lib/libncurses|g" \ 53 ${dir}/CMakeCache.txt 54 } 44 55 } 45 56 } 46 57