Bug 254387 - Porting Firebird 3 to FreeBSD
Summary: Porting Firebird 3 to FreeBSD
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
Depends on:
Reported: 2021-03-18 18:46 UTC by Gelson Borsoi
Modified: 2021-03-28 02:02 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (office)

Makefile distfile and patches (6.90 KB, application/vnd.rar)
2021-03-18 18:46 UTC, Gelson Borsoi
no flags Details
New Makefile and patches (7.63 KB, application/vnd.rar)
2021-03-28 02:02 UTC, Gelson Borsoi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gelson Borsoi 2021-03-18 18:46:39 UTC
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

Files attached

Comment 1 Gelson Borsoi 2021-03-28 02:02:38 UTC
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.