From owner-freebsd-ports@freebsd.org Mon Mar 29 17:36:01 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B58657E635 for ; Mon, 29 Mar 2021 17:36:01 +0000 (UTC) (envelope-from gelson@borsoi.com.br) Received: from server.borsoi.com.br (server.borsoi.com.br [177.99.176.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8KVm0y28z4SJ2 for ; Mon, 29 Mar 2021 17:35:59 +0000 (UTC) (envelope-from gelson@borsoi.com.br) Received: from localhost (localhost [127.0.0.1]) by server.borsoi.com.br (Postfix) with ESMTP id CC4F92C3D546; Mon, 29 Mar 2021 14:35:55 -0300 (-03) Received: from server.borsoi.com.br ([127.0.0.1]) by localhost (server.borsoi.com.br [127.0.0.1]) (maiad, port 10024) with ESMTP id 45789-07; Mon, 29 Mar 2021 14:35:54 -0300 (-03) Received: from www.borsoi.com.br (server [177.99.176.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: gelson@borsoi.com.br) by server.borsoi.com.br (Postfix) with ESMTPSA id D7CA02C3D54D; Mon, 29 Mar 2021 14:35:53 -0300 (-03) MIME-Version: 1.0 Date: Mon, 29 Mar 2021 14:35:53 -0300 From: Gelson Borsoi To: Gelson Borsoi Cc: freebsd-ports@freebsd.org Subject: Re: Help Porting Firebird 3.0 In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.4 Message-ID: <509d2ca3b8e0cd37ea7100baf7f3a28e@borsoi.com.br> X-Sender: gelson@borsoi.com.br Organization: Borsoi Com. e Transp. Ltda. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.4 X-Rspamd-Queue-Id: 4F8KVm0y28z4SJ2 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[borsoi.com.br:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:177.99.176.76/32]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DWL_DNSWL_MED(-2.00)[borsoi.com.br:dkim]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[177.99.176.76:from]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[borsoi.com.br,quarantine]; DKIM_TRACE(0.00)[borsoi.com.br:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:18881, ipnet:177.99.176.0/20, country:BR]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 17:36:01 -0000 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