Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2021 14:35:53 -0300
From:      Gelson Borsoi <gelson@borsoi.com.br>
To:        Gelson Borsoi <gelson@borsoi.com.br>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Help Porting Firebird 3.0
Message-ID:  <509d2ca3b8e0cd37ea7100baf7f3a28e@borsoi.com.br>
In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAJAnp7jzyoFDtcRypoF7hLLCgAAAEAAAAIXfZO%2B8acBHvJ8YW7%2BGg%2BwBAAAAAA==@borsoi.com.br>
References:  <!&!AAAAAAAAAAAYAAAAAAAAAJAnp7jzyoFDtcRypoF7hLLCgAAAEAAAAIXfZO%2B8acBHvJ8YW7%2BGg%2BwBAAAAAA==@borsoi.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 18/03/2021 15:20, Gelson Borsoi via freebsd-ports escreveu:
> Hello,
> 
> 
> 
> 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.
> 
> 
> 
> Questions:
> 
> 1- How do I make "configure process" include the folders
> “/usr/local/include” and “/usr/local/lib” in the search for headers 
> files
> (.h) and Shared Objects (.so) without the need to copy the files?
> 
> 2- Could someone with experience with ports help me finish the 
> "Makefile" to
> install and finalize the port?
> 
> 
> 
> I can provide the "Makefile" and the patches. Any help is welcome as it
> would be one more software for the ports and community.
> 
> 
> 
> Gelson Borsoi
> 
> Chapecó – SC – Brazil
> 
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to 
> "freebsd-ports-unsubscribe@freebsd.org"

New Makefile and patches adjusting dependencies.

If anyone wants to test or help finalize the port, they can get the 
Makefile and patches at 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254387

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 (i386 and amd64) and 13 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.

It will also be necessary to separate the port between server and client 
to maintain the same standard as previous versions.

Sorry about my english. I´m just trying to contribute.

Gelson Borsoi
Chapeco - SC - Brazil



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509d2ca3b8e0cd37ea7100baf7f3a28e>