How to build a package from local source keeping all the original used (gnu autotools) build options !??
lsrbreda at xs4all.nl
Tue Aug 18 19:45:02 UTC 2020
After downloading a project from GitHub and making some changes, I can build and install that project using the GNU autotools
./configure – option-A=/abc �– option-B=/def � � �etc (*required* options)
However than I need to make a distribution package for that project
cp /var/git/<project>/<distfile> � cd /usr/ports/<distfiles>
That however does not work in the right way.
The problem is that “Port” is building the sources *again* (in �cd /usr/ports/<category>/work/<project>/
And more severe …. It is building the package without and *required* options ……. (the same as defined for the original build!)
So this leads to the *default package* and not the *intended package* having e.g. required path settings!
So my question: “is how to build an package having the same build settings as in the original autotools build”
(using same generated makefile, config etc.)
Perhaps !!?? the whole rebuild process by the port-tools is not required at all (just my feeling(!)
If port could!!?? only do all the packaging stuff for the already build files! ☹ 😊
No problem if port does the project make process again …… as long as it would use exactly the same settings 😊
Does anyone know how to archive this?
More information about the freebsd-questions