summaryrefslogtreecommitdiff
path: root/databases/firebird40-server/files/patch-extern_cloop_Makefile
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-06-27 20:26:38 -0500
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-06-27 20:26:38 -0500
commitdbbc9f821bd9039ff5679100be826ecf4c585fb3 (patch)
treea9869f4d47deb4b52397829ff54464f1fcb7dd47 /databases/firebird40-server/files/patch-extern_cloop_Makefile
parentdatabases/fireird30-[client|server]: New port: Firebird-3 relational database (diff)
databases/firebird40-[client|server]: New port: Firebird-4 relational database
Firebird is a relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981. Firebird is completely free of any registration, licensing or deployment fees. It may be deployed freely for use with any third-party software, whether commercial or not. WWW: https://sourceforge.net/projects/firebird/ WWW: http://www.firebirdsql.org/
Diffstat (limited to 'databases/firebird40-server/files/patch-extern_cloop_Makefile')
-rw-r--r--databases/firebird40-server/files/patch-extern_cloop_Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/firebird40-server/files/patch-extern_cloop_Makefile b/databases/firebird40-server/files/patch-extern_cloop_Makefile
new file mode 100644
index 000000000000..ccc6f08bcc04
--- /dev/null
+++ b/databases/firebird40-server/files/patch-extern_cloop_Makefile
@@ -0,0 +1,24 @@
+--- extern/cloop/Makefile.orig 2020-10-12 00:02:22 UTC
++++ extern/cloop/Makefile
+@@ -6,7 +6,7 @@ TARGET := release
+
+ CC := $(CC)
+ CXX := $(CXX)
+-LD := $(CXX)
++LD := $(CXX) $(LDFLAGS)
+
+ SRC_DIR := src
+ BUILD_DIR := build
+@@ -27,8 +27,9 @@ SRCS_CPP := $(foreach sdir,$(SRC_DIRS),$
+ OBJS_C := $(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.o,$(SRCS_C))
+ OBJS_CPP := $(patsubst $(SRC_DIR)/%.cpp,$(OBJ_DIR)/%.o,$(SRCS_CPP))
+
+-C_FLAGS := -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter
+-CXX_FLAGS := $(C_FLAGS)
++COMMON_C_FLAGS := -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter
++C_FLAGS := $(COMMON_C_FLAGS) $(CFLAGS) $(CPPFLAGS)
++CXX_FLAGS := $(COMMON_C_FLAGS) $(CXXFLAGS) $(CPPFLAGS)
+ FPC_FLAGS := -Mdelphi
+
+ ifeq ($(TARGET),release)
+