How to build a package from local source keeping all the original used (gnu autotools) build options !??
louis.forums@xs4all.nl
lsrbreda at xs4all.nl
Tue Aug 18 19:45:02 UTC 2020
Hello,
�
After downloading a project from GitHub and making some changes, I can build and install that project using the GNU autotools
cd /var/git/<project>
./autogen.sh
./configure – option-A=/abc �– option-B=/def � � �etc (*required* options)
make
make install
make dist
�
However than I need to make a distribution package for that project
cp /var/git/<project>/<distfile> � cd /usr/ports/<distfiles>
cd /usr/ports/<category>/<project>
make makesum
make stage
make stage-qa
make package
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?
�
Sincerely,
�
Louis
�
�
More information about the freebsd-questions
mailing list