Lines 40-45
Link Here
|
40 |
SUB_FILES= pkg-message |
40 |
SUB_FILES= pkg-message |
41 |
SUB_LIST= MAXTHREADS=${MAXTHREADS} |
41 |
SUB_LIST= MAXTHREADS=${MAXTHREADS} |
42 |
|
42 |
|
|
|
43 |
.if defined(PACKAGE_BUILDING) |
44 |
DYNAMIC_ARCH_DEFAULT= on |
45 |
.else |
46 |
DYNAMIC_ARCH_DEFAULT= off |
47 |
.endif |
48 |
|
43 |
OPTIONS= DYNAMIC_ARCH "Support multiple CPU types on i386 and amd64" \ |
49 |
OPTIONS= DYNAMIC_ARCH "Support multiple CPU types on i386 and amd64" \ |
44 |
${DYNAMIC_ARCH_DEFAULT} \ |
50 |
${DYNAMIC_ARCH_DEFAULT} \ |
45 |
INTERFACE64 "Use 8 byte integers on 64-bit architectures" off \ |
51 |
INTERFACE64 "Use 8 byte integers on 64-bit architectures" off \ |
Lines 48-59
Link Here
|
48 |
|
54 |
|
49 |
.include <bsd.port.pre.mk> |
55 |
.include <bsd.port.pre.mk> |
50 |
|
56 |
|
51 |
.if defined(PACKAGE_BUILDING) |
|
|
52 |
DYNAMIC_ARCH_DEFAULT= on |
53 |
.else |
54 |
DYNAMIC_ARCH_DEFAULT= off |
55 |
.endif |
56 |
|
57 |
MAXTHREADS?= 8 |
57 |
MAXTHREADS?= 8 |
58 |
|
58 |
|
59 |
.if ${ARCH:M*64} == "" |
59 |
.if ${ARCH:M*64} == "" |
Lines 62-67
Link Here
|
62 |
GOTOFLAGS+= BINARY64=1 |
62 |
GOTOFLAGS+= BINARY64=1 |
63 |
.endif |
63 |
.endif |
64 |
|
64 |
|
|
|
65 |
.if ! ( defined(WITH_DYNAMIC_ARCH) && ( ${ARCH} == "amd64" || ${ARCH} == "i386" ) ) |
66 |
MANUAL_PACKAGE_BUILD= Optimizes for the build machine. |
67 |
.endif |
68 |
|
65 |
.if defined(WITH_DYNAMIC_ARCH) |
69 |
.if defined(WITH_DYNAMIC_ARCH) |
66 |
GOTOFLAGS+= DYNAMIC_ARCH=1 |
70 |
GOTOFLAGS+= DYNAMIC_ARCH=1 |
67 |
.endif |
71 |
.endif |