Date: Tue, 18 Aug 2020 21:44:54 +0200 From: "louis.forums@xs4all.nl" <lsrbreda@xs4all.nl> To: <freebsd-questions@freebsd.org> Subject: How to build a package from local source keeping all the original used (gnu autotools) build options !?? Message-ID: <000701d67598$0c8aa560$259ff020$@xs4all.nl> In-Reply-To: <000001d67566$e2acd5a0$a80680e0$@xs4all.nl>
index | next in thread | previous in thread | raw e-mail
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 � �help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701d67598$0c8aa560$259ff020$>
