Opened 14 years ago
Last modified 14 years ago
#26301 closed defect
openjdk6-b16-1 Build fail on Core Solo CPU — at Initial Version
Reported by: | daniel.hjort@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | haspatch | Cc: | landonf (Landon Fuller) |
Port: | openjdk6 |
Description
The build failed on a Core Solo Mac Mini.
Log: cd bsd_i486_compiler2/product && /usr/bin/make make: the `-j' option requires a positive integral argument
This line in the Portfile is wrong: HOTSPOT_BUILD_JOBS=[expr [exec sysctl -n hw.ncpu] - 1]
Expression evaluates to 0 on single core machines. In patch changed to +1 which is common for build optimization.
Note: See
TracTickets for help on using
tickets.
Portfile patch