-DEST=$FB_PREFIX/firebird/include/firebird &&
+DEST=$FB_PREFIX/firebird/include/firebird &&
mkdir -p $DEST &&
# need the impl/boost files; copy them as well
-cp -a $SOURCE_DIRECTORY/src/include/firebird/impl $DEST &&
+cp -a $SRC/src/include/firebird/impl $DEST &&
# need some symlinks
diff --git a/database/firebird3/patches/0001-use-system-libedit.patch
b/database/firebird3/patches/0001-use-system-libedit.patch
index 2cb0a81..c65dd0b 100644
--- a/database/firebird3/patches/0001-use-system-libedit.patch
+++ b/database/firebird3/patches/0001-use-system-libedit.patch
@@ -1,7 +1,7 @@
-From 480099803708167a8d26bc126ce412459f00641c Mon Sep 17 00:00:00 2001
+From 168a8eb936003cdff5e1c502bbd14688019da4d0 Mon Sep 17 00:00:00 2001
From: Treeve Jelbert <treeve AT sourcemage.org>
Date: Thu, 7 Jan 2016 15:59:12 +0100
-Subject: [PATCH 1/8] use system libedit
+Subject: [PATCH 1/9] use system libedit
---
CMakeLists.txt | 2 +-
@@ -52,7 +52,7 @@ index 0229681a40..3e4b331266 100644
/* Define to 1 if you have the <errno.h> header file. */
#cmakedefine HAVE_ERRNO_H 1
diff --git a/src/isql/isql.epp b/src/isql/isql.epp
-index 3cb40b5b8a..c607ded862 100644
+index 4b4db43596..007b2e23b0 100644
--- a/src/isql/isql.epp
+++ b/src/isql/isql.epp
@@ -77,10 +77,8 @@
@@ -87,5 +87,5 @@ index 3cb40b5b8a..c607ded862 100644
{
// CVC: On 2005-04-02, use an empty prompt when not working in
--
-2.25.2
+2.28.0
diff --git a/database/firebird3/patches/0002-use-system-libtommath.patch
b/database/firebird3/patches/0002-use-system-libtommath.patch
index 9e83030..0703b14 100644
--- a/database/firebird3/patches/0002-use-system-libtommath.patch
+++ b/database/firebird3/patches/0002-use-system-libtommath.patch
@@ -1,7 +1,7 @@
-From 462ee2b6bd77163404c5afc28e268b183a604756 Mon Sep 17 00:00:00 2001
+From e80813a01ead4c6ab196f149308a60042da0cbad Mon Sep 17 00:00:00 2001
From: Treeve Jelbert <treeve AT sourcemage.org>
Date: Sat, 24 Jan 2015 12:48:36 +0100
-Subject: [PATCH 2/8] use system libtommath
+Subject: [PATCH 2/9] use system libtommath
---
CMakeLists.txt | 5 -----
@@ -54,5 +54,5 @@ index 395965a69d..71ae606704 100644
PUBLIC ${LIB_readline}
PUBLIC ${LIB_dl}
--
-2.25.2
+2.28.0
diff --git a/database/firebird3/patches/0003-suppress-some-includes.patch
b/database/firebird3/patches/0003-suppress-some-includes.patch
index 925e37b..506d4d6 100644
--- a/database/firebird3/patches/0003-suppress-some-includes.patch
+++ b/database/firebird3/patches/0003-suppress-some-includes.patch
@@ -1,7 +1,7 @@
-From e63d11d398c27b5a38016e7295de0ad23bde88a3 Mon Sep 17 00:00:00 2001
+From b2c773371ed786dd7ce8b3ed3ba2d30252b10305 Mon Sep 17 00:00:00 2001
From: Treeve Jelbert <treeve AT sourcemage.org>
Date: Sat, 11 Feb 2017 14:56:02 +0100
-Subject: [PATCH 3/8] suppress some includes
+Subject: [PATCH 3/9] suppress some includes