Lines 15-25
Link Here
|
15 |
MAINTAINER= cyberbotx@cyberbotx.com |
15 |
MAINTAINER= cyberbotx@cyberbotx.com |
16 |
COMMENT= C compiler for the TI89, 92, and 92+ calculators |
16 |
COMMENT= C compiler for the TI89, 92, and 92+ calculators |
17 |
|
17 |
|
18 |
BROKEN_mips= fails to compile: main_opt.inc: nested functions are disabled, use -fnested-functions to re-enable |
|
|
19 |
BROKEN_mips64= fails to compile: main_opt.inc: nested functions are disabled, use -fnested-functions to re-enable |
20 |
BROKEN_powerpc64= fails to compile: main_opt.inc: nested functions are disabled, use -fnested-functions to re-enable |
21 |
BROKEN_sparc64= fails to compile: main_opt.inc: nested functions are disabled, use -fnested-functions to re-enable |
22 |
|
23 |
USE_CSTD= gnu89 |
18 |
USE_CSTD= gnu89 |
24 |
USES= bison compiler:nestedfct gmake tar:bzip2 |
19 |
USES= bison compiler:nestedfct gmake tar:bzip2 |
25 |
NO_WRKSUBDIR= yes |
20 |
NO_WRKSUBDIR= yes |
Lines 143-146
Link Here
|
143 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
138 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
144 |
@${CP} ${WRKSRC}/tigcc/tigcclib/examples/* ${STAGEDIR}${EXAMPLESDIR}/ |
139 |
@${CP} ${WRKSRC}/tigcc/tigcclib/examples/* ${STAGEDIR}${EXAMPLESDIR}/ |
145 |
|
140 |
|
146 |
.include <bsd.port.mk> |
141 |
.include <bsd.port.pre.mk> |
|
|
142 |
|
143 |
.if ${CHOSEN_COMPILER_TYPE} == gcc |
144 |
CFLAGS+= -fnested-functions |
145 |
.endif |
146 |
|
147 |
.include <bsd.port.post.mk> |