Lines 11-18
Link Here
|
11 |
|
11 |
|
12 |
LICENSE= LGPL3 |
12 |
LICENSE= LGPL3 |
13 |
|
13 |
|
14 |
OPTIONS_DEFINE= CPU_OPTS |
14 |
OPTIONS_DEFINE= CPU_OPTS AVOID_ASM |
15 |
CPU_OPTS_DESC= Enable assembly optimizations for your CPU |
15 |
CPU_OPTS_DESC= Enable assembly optimizations for your CPU |
|
|
16 |
AVOID_ASM_DESC= Avoid assembly code that fails compile (arm,arm64) |
16 |
|
17 |
|
17 |
USES= libtool makeinfo tar:xz |
18 |
USES= libtool makeinfo tar:xz |
18 |
HAS_CONFIGURE= yes |
19 |
HAS_CONFIGURE= yes |
Lines 31-36
Link Here
|
31 |
|
32 |
|
32 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
33 |
|
34 |
|
|
|
35 |
.if ${PORT_OPTIONS:MAVOID_ASM} |
36 |
CONFIGURE_ARGS+= --disable-assembly |
37 |
.endif |
38 |
|
34 |
.if ! ${PORT_OPTIONS:MCPU_OPTS} |
39 |
.if ! ${PORT_OPTIONS:MCPU_OPTS} |
35 |
CONFIGURE_ARGS+=--build=${CONFIGURE_TARGET} |
40 |
CONFIGURE_ARGS+=--build=${CONFIGURE_TARGET} |
36 |
.elif ${ARCH:S/64//} != ${ARCH} |
41 |
.elif ${ARCH:S/64//} != ${ARCH} |