Lines 16-22
Link Here
|
16 |
BROKEN_armv6= fails to compile: crt1.c: undefined reference to main |
16 |
BROKEN_armv6= fails to compile: crt1.c: undefined reference to main |
17 |
BROKEN_armv7= fails to compile: crt1.c: undefined reference to main |
17 |
BROKEN_armv7= fails to compile: crt1.c: undefined reference to main |
18 |
BROKEN_mips64= fails to build: build.sh: clang: not found |
18 |
BROKEN_mips64= fails to build: build.sh: clang: not found |
19 |
BROKEN_powerpc64= fails to build: build.sh: clang: not found |
|
|
20 |
BROKEN_sparc64= fails to build: build.sh: clang: not found |
19 |
BROKEN_sparc64= fails to build: build.sh: clang: not found |
21 |
|
20 |
|
22 |
TOOLS_DESC= Build and install nimgrep and nimsuggest |
21 |
TOOLS_DESC= Build and install nimgrep and nimsuggest |
Lines 31-39
Link Here
|
31 |
|
30 |
|
32 |
TLIST= nimgrep nimsuggest |
31 |
TLIST= nimgrep nimsuggest |
33 |
|
32 |
|
|
|
33 |
.include <bsd.port.pre.mk> |
34 |
|
35 |
.if ${ARCH} == "powerpc64" |
36 |
. if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 |
37 |
EXTRA_PATCHES= ${PATCHDIR}/elfv1-patch-build.sh |
38 |
. endif |
39 |
.endif |
40 |
|
34 |
post-patch: |
41 |
post-patch: |
35 |
.if ${COMPILER_TYPE} == clang |
42 |
.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 |
36 |
@${REINPLACE_CMD} -e '/cc =/s/gcc/clang/' ${WRKSRC}/config/nim.cfg |
43 |
@${REINPLACE_CMD} -e '/cc =/s/clang/gcc/' ${WRKSRC}/config/nim.cfg |
37 |
.endif |
44 |
.endif |
38 |
|
45 |
|
39 |
do-build: |
46 |
do-build: |