Opened 11 years ago
Closed 11 years ago
#10011 closed bug (fixed)
Makefile-engine broken on Haiku PM
Reported by: | kallisti5 | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta1 |
Component: | Build System | Version: | R1/Package Management |
Keywords: | makefile-engine | Cc: | siarzhuk |
Blocked By: | Blocking: | ||
Platform: | All |
Description
- Copy the makefile from /boot/common/develop/etc/ to a project
- Make adjustments to the makefile
- Run make, get: No fule to make target '/boot/system/develop/etc/makefile-engine'
While I agree makefile-engine should be in system... that is going to break a lot of legacy stuff. (or we need to just update the template to reflect the new location)
Change History (7)
comment:1 by , 11 years ago
Priority: | high → normal |
---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Cc: | added |
---|
comment:4 by , 11 years ago
The BUILDHOME
variable is kind of obsolete. IIRC it only exits because some legacy applications use it. Haiku itself doesn't and given that development files can be installed in three different locations, it might not work as expected anyway.
A path to the makefile engine that remains stable regardless of where it is installed, would be "/packages/makefile_engine-*/.self/develop/etc/makefile-engine". If multiple versions of the makefile engine package are installed, there will be multiple matching entries in "/packages/". One (the latest?) would need to be chosen.
comment:5 by , 11 years ago
Hm... in hrev46263 my old makefile-engine driven projects were rebuilded successfully. Fixed?
comment:6 by , 11 years ago
As a side effect of removing "/boot/common" the makefile-engine is back in "/boot/system/develop/etc". The makefile should still be adjusted to refer to the "/packages/makefile_engine..." path, though.
comment:7 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
hrev46402 adjusts the template makefile to find makefile-engine regardless of the package's installation location.
it actually looks like $BUILDHOME doesn't agree with the location of the makefile-engine and template. Not sure what the intended path was on PM.. so i'm not going to touch this one.