On Thu, Sep 05, 2013 at 09:10:10AM +0200, Joerg Wunsch wrote: > As [email protected] wrote: > > > ===> src (all) > > Warning: Object directory not changed from original > > /wrkdirs/usr/ports/emulators/cpmtools/work/cpm/src > > cc -O2 -pipe -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 > > -Qunused-arguments -fstack-protector -c bitmap.c > > bitmap.c:31:7: warning: implicit declaration of function 'ffc' is invalid > > in C99 [-Wimplicit-function-declaration] > > j = ffc(0, INTSIZE, *(bitmap+i)); > > ^ > > bitmap.c:50:1: warning: type specifier missing, defaults to 'int' > > [-Wimplicit-int] > > dbmap(str) > > ^~~~~ > > bitmap.c:61:1: warning: control reaches end of non-void function > > [-Wreturn-type] > > } > > I don't understand this. emulators/cpmtools is historic code (dates > back to 1983), and thus has USE_GCC set to "any". > > Why does it still use clang then? > > I wish we had a C compiler around that can still compile "traditional" > (pre-C89) C code without complaints ... > > "Fixing" that code is going to be a rewrite, which rather defeats the > idea. > -- > cheers, Joerg .-.-. --... ...-- -.. . DL8DTL > > http://www.sax.de/~joerg/ > Never trust an operating system you don't have sources for. ;-) > _______________________________________________ > [email protected] mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pkg-fallout > To unsubscribe, send any mail to "[email protected]"
Because the ports is not respecting MAKE_ENV, the do-build target being wrong.
If the goal is just to pass PREFIX in arguments, the following will do it
properly, while still passing ${CC} properly to the make process:
http://people.freebsd.org/~bapt/cmptools-fix.diff
regards,
Bapt
pgpXYeF3lH2Lp.pgp
Description: PGP signature
