mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
databases/firebird40-server: port to powerpc64le
Add upstream patch to support powerpc64le.
This commit is contained in:
parent
fc7adf62a3
commit
b8b58884a3
3 changed files with 30 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
23
databases/firebird40-server/files/patch-configure
Normal file
23
databases/firebird40-server/files/patch-configure
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue