- Fix build error when both 'emacs' and 'ninja' are added to USES.
- Change custom targets of ports using ninja so they don't use MAKE_{ARGS,CMD,ENV}.
- Always define DO_MAKE_TEST.
Details
- Reviewers
- None
- Group Reviewers
portmgr
Test with exp-run.
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 35222 Build 32166: arc lint + arc unit
Event Timeline
I don't understand why so many ports are changed.
It seems there are two things going on here:
- a fix for emacs+ninja
- a cleanup of some sort for the whole ports tree.
As it does not seem to me that they are related, it would be better to split those two in two different reviews.
cad/brlcad/Makefile | ||
---|---|---|
62–63 | It could probably be simplified to this. |
cad/brlcad/Makefile | ||
---|---|---|
62–63 |
| |
62–63 | No, everything is related. The beginning is that build error happens when I specified USES=cmake emacs such as following.
According to my investigation it happens as following.
I checked Mk/Uses/*.mk and found some other files also add At first I tried to fix it as following.
I thought the problem is fixed with these changes. But soon I found build of devel/llvm* fails with them. I investigated it and found build error happens with following reason.
So I need to change all of them so they don't used MAKE_CMD in their customized targets. I did it as following.
But the former caused another problem that DO_MAKE_TEST isn't defined if customized do-test target is defined. So I need to change Mk/bsd.port.mk so DO_MAKE_TEST is always defined. This is why so many changes are necessary to fix this problem. |