Lines 15-23
Link Here
|
15 |
|
15 |
|
16 |
BROKEN_armv6= fails to compile: function definition is not allowed here |
16 |
BROKEN_armv6= fails to compile: function definition is not allowed here |
17 |
BROKEN_armv7= fails to compile: function definition is not allowed here |
17 |
BROKEN_armv7= fails to compile: function definition is not allowed here |
18 |
BROKEN_mips= fails to compile: nested functions are disabled, use -fnested-functions to re-enable |
|
|
19 |
BROKEN_mips64= fails to compile: nested functions are disabled, use -fnested-functions to re-enable |
20 |
BROKEN_powerpc64= fails to compile: nested functions are disabled, use -fnested-functions to re-enable |
21 |
|
18 |
|
22 |
USES= compiler:nestedfct ncurses tar:tgz |
19 |
USES= compiler:nestedfct ncurses tar:tgz |
23 |
|
20 |
|
Lines 29-34
Link Here
|
29 |
|
26 |
|
30 |
OPTIONS_DEFINE= DOCS |
27 |
OPTIONS_DEFINE= DOCS |
31 |
|
28 |
|
|
|
29 |
.include <bsd.port.pre.mk> |
30 |
|
31 |
.if ${COMPILER_TYPE:Mgcc} |
32 |
CFLAGS+= -fnested-functions |
33 |
.endif |
34 |
|
32 |
do-install: |
35 |
do-install: |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${STAGEDIR}${PREFIX}/bin |
36 |
${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${STAGEDIR}${PREFIX}/bin |
34 |
|
37 |
|
Lines 38-41
Link Here
|
38 |
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} |
41 |
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} |
39 |
.endfor |
42 |
.endfor |
40 |
|
43 |
|
41 |
.include <bsd.port.mk> |
44 |
.include <bsd.port.post.mk> |