Lines 26-32
Link Here
|
26 |
USE_RC_SUBR= spark_master spark_worker |
26 |
USE_RC_SUBR= spark_master spark_worker |
27 |
SHEBANG_FILES= bin/sparkR |
27 |
SHEBANG_FILES= bin/sparkR |
28 |
|
28 |
|
29 |
MAKE_ENV+= JAVA_HOME=${JAVA_HOME} \ |
29 |
MAKE_ENV+= JAVA_HOME=${JAVA_HOME} \ |
30 |
MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=2g" |
30 |
MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=2g" |
31 |
|
31 |
|
32 |
NO_ARCH= yes |
32 |
NO_ARCH= yes |
Lines 40-45
Link Here
|
40 |
PLIST_SUB= VER=${PORTVERSION} |
40 |
PLIST_SUB= VER=${PORTVERSION} |
41 |
|
41 |
|
42 |
.include <bsd.port.pre.mk> |
42 |
.include <bsd.port.pre.mk> |
|
|
43 |
|
44 |
.if ${ARCH} == "i386" |
45 |
MAVEN_OPTS="-Xmx1g -XX:ReservedCodeCacheSize=1g" |
46 |
.endif |
47 |
|
43 |
|
48 |
|
44 |
.if ${ARCH} == "amd64" |
49 |
.if ${ARCH} == "amd64" |
45 |
JAVA_ARCH= x86_64 |
50 |
JAVA_ARCH= x86_64 |