Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2022 18:32:55 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b8b58884a33e - main - databases/firebird40-server: port to powerpc64le
Message-ID:  <202207291832.26TIWtam009875@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b8b58884a33e6d24294e8a987e18f47a5582e9af

commit b8b58884a33e6d24294e8a987e18f47a5582e9af
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-07-29 18:30:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-07-29 18:32:54 +0000

    databases/firebird40-server: port to powerpc64le
    
    Add upstream patch to support powerpc64le.
---
 databases/firebird40-server/Makefile              |  5 ++++-
 databases/firebird40-server/distinfo              |  4 +++-
 databases/firebird40-server/files/patch-configure | 23 +++++++++++++++++++++++
 3 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/databases/firebird40-server/Makefile b/databases/firebird40-server/Makefile
index 60dac25b2b51..7295486c460c 100644
--- a/databases/firebird40-server/Makefile
+++ b/databases/firebird40-server/Makefile
@@ -7,6 +7,9 @@ PKGNAMESUFFIX?=	${PORTVERSION:R:S/.//}-server
 DISTNAME=	${PORTNAME:S/f/F/}-${PORTVERSION}.2496-0
 DIST_SUBDIR=	${PORTNAME}
 
+PATCH_SITES=	https://github.com/FirebirdSQL/firebird/commit/
+PATCHFILES=	96931200340c8e0abcd3529b8e443d5ab62adfa5.patch:-p1
+
 MAINTAINER=	acm@FreeBSD.org
 COMMENT?=	Firebird-4 relational database (server)
 
@@ -63,7 +66,7 @@ LD=	${CC}
 # Don't strip binary files
 STRIP=
 
-ONLY_FOR_ARCHS=	i386 amd64
+ONLY_FOR_ARCHS=	i386 amd64 powerpc64le
 # sparc64 fails due to lack of valid AtomicCounter implementation in
 # src/common/classes/fb_atomic.h; presumably other tier-2s would as well
 
diff --git a/databases/firebird40-server/distinfo b/databases/firebird40-server/distinfo
index f106b999cca5..f6ab8f53d3ce 100644
--- a/databases/firebird40-server/distinfo
+++ b/databases/firebird40-server/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1624676837
+TIMESTAMP = 1659115441
 SHA256 (firebird/Firebird-4.0.0.2496-0.tar.xz) = c155b8893e39d27c90f164d4865a7940749f47e971c7da6cf4828c980c708a57
 SIZE (firebird/Firebird-4.0.0.2496-0.tar.xz) = 30522192
+SHA256 (firebird/96931200340c8e0abcd3529b8e443d5ab62adfa5.patch) = cf70a42c4d92b06ecf7a75131ed04dfbb471aba8c78eda66a3412f12b9084d58
+SIZE (firebird/96931200340c8e0abcd3529b8e443d5ab62adfa5.patch) = 4011
diff --git a/databases/firebird40-server/files/patch-configure b/databases/firebird40-server/files/patch-configure
new file mode 100644
index 000000000000..2cd41f32a632
--- /dev/null
+++ b/databases/firebird40-server/files/patch-configure
@@ -0,0 +1,23 @@
+--- configure.orig	2022-07-28 00:58:22 UTC
++++ configure
+@@ -2985,6 +2985,20 @@ $as_echo "#define AMD64 1" >>confdefs.h
+     SHRLIB_EXT=so
+     ;;
+ 
++  powerpc64le-*-freebsd*)
++    MAKEFILE_PREFIX=freebsd_powerpc64el
++    PLATFORM=FREEBSD
++    INSTALL_PREFIX=freebsd
++
++$as_echo "#define FREEBSD 1" >>confdefs.h
++
++
++$as_echo "#define PPC64EL 1" >>confdefs.h
++
++    EDITLINE_FLG=Y
++    SHRLIB_EXT=so
++    ;;
++
+   *-gentoo-freebsd*)
+     MAKEFILE_PREFIX=freebsd
+     PLATFORM=GENTOOFREEBSD



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