Changeset 98934
- Timestamp:
- Oct 21, 2012, 9:54:37 AM (12 years ago)
- Location:
- trunk/dports/multimedia/mediainfo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/multimedia/mediainfo/Portfile
r98933 r98934 37 37 CC="${configure.cc} [get_canonical_archflags cc]" \ 38 38 CXX="${configure.cxx} [get_canonical_archflags cxx]" 39 build.env numprocs=${build.jobs} 39 40 40 41 destroot.dir ${worksrcpath}/MediaInfo/Project/GNU/CLI -
trunk/dports/multimedia/mediainfo/files/patch-CLI_Compile.sh.diff
r98933 r98934 1 1 --- CLI_Compile.sh.orig 2012-09-02 02:05:09.000000000 -0500 2 +++ CLI_Compile.sh 2012-10-21 04:25:32.000000000 -0500 3 @@ -26,7 +26,7 @@ 2 +++ CLI_Compile.sh 2012-10-21 04:51:20.000000000 -0500 3 @@ -9,12 +9,11 @@ 4 # Setup for parallel builds 5 Zen_Make() 6 { 7 - if test -e /proc/stat; then 8 - numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` 9 + if test -n "$numprocs"; then 10 if [ "$numprocs" = "0" ]; then 11 numprocs=1 12 fi 13 - make -s -j$numprocs 14 + make -j$numprocs 15 else 16 make 17 fi 18 @@ -26,7 +25,7 @@ 4 19 cd ZenLib/Project/GNU/Library/ 5 20 test -e Makefile && rm Makefile … … 10 25 make clean 11 26 Zen_Make 12 @@ -52,7 +5 2,7 @@27 @@ -52,7 +51,7 @@ 13 28 cd MediaInfoLib/Project/GNU/Library/ 14 29 test -e Makefile && rm Makefile … … 19 34 make clean 20 35 Zen_Make 21 @@ -78,7 +7 8,7 @@36 @@ -78,7 +77,7 @@ 22 37 cd MediaInfo/Project/GNU/CLI/ 23 38 test -e Makefile && rm Makefile
Note: See TracChangeset
for help on using the changeset viewer.