Created attachment 223400 [details]
Makefile distfile and patches
I am trying to port Firebird 3.0.7 to FreeBSD.
I created a Makefile and found some necessary patches.
I have successfully compiled the source code but I have difficulty to finish the Makefile to install it in the correct folders.
I actually did a completely manual installation to test and it worked in
12.2 and 13 amd64.
Another problem was that I had to copy the content of the “/usr/local/include” folder to “/usr/include” and “/usr/local/lib” to “/usr/lib” because the configure process did not find some files related to devel/icu and math/tommath.
Need to separate server and cliente build and install
Created attachment 223656 [details]
New Makefile and patches
New Makefile (incomplete) and patches attached.
Now it can be compiled without problems with libraries and dependencies. I compiled on FreeBSD 12.2 i386 and amd64.
The problem continues in the post build, with the installation.
Even without "make install" command, the last phase of the build tries to install but does not find the binaries and other files since everything is in the gen/Release folder.
I believe that the script for FreeBSD within the sources is still referring to version 2.5. It has not been modified for version 3 since it tries to install the file security2.fdb instead of security3.fdb and also the binaries fb_smp_server and fb_inet_server instead of firebird.
Sorry about my english. I´m just trying to contribute.