1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/devel/ice/files/patch-cpp-config-Make.rules
Michael Gmelin ca88d41854 Update ice ports to 3.6.3
A few critical patches got merged upstream, a few new were required
to maintain LibreSSL support and fix other new issues. Note that slice2py
moved from devel/py-ice to devel/ice.

Approved by:	mentors (implicit)
2016-10-12 17:23:57 +00:00

29 lines
1.1 KiB
Plaintext

--- cpp/config/Make.rules.orig 2015-06-23 15:30:20.000000000 +0000
+++ cpp/config/Make.rules 2015-09-14 21:31:28.253993994 +0000
@@ -203,11 +201,11 @@
ICEUTIL_FLAGS = -DICE_PRIO_INHERIT
endif
-OPENSSL_FLAGS += $(if $(OPENSSL_HOME),-I$(OPENSSL_HOME)/include)
+OPENSSL_FLAGS += -I%%OPENSSLINC%%
ifeq ($(OPENSSL_LIBS),)
- OPENSSL_LIBS = $(if $(OPENSSL_HOME),-L$(OPENSSL_HOME)/$(libsubdir)) -lssl -lcrypto
+ OPENSSL_LIBS = -L%%OPENSSLLIB%% -lssl -lcrypto
endif
-OPENSSL_RPATH_LINK = $(if $(OPENSSL_HOME),$(call rpathlink,$(OPENSSL_HOME)/$(libsubdir)))
+OPENSSL_RPATH_LINK = $(if %%OPENSSLRPATH%%,$(call rpathlink,%%OPENSSLRPATH%%))
ifeq ($(SSL_OS_LIBS),)
SSL_OS_LIBS = $(OPENSSL_LIBS)
@@ -240,7 +240,9 @@
DB_FLAGS = -I/usr/local/include/db53
DB_LIBS = -L/usr/local/$(libsubdir)/db53 -ldb_cxx
else
- DB_LIBS = -ldb_cxx
+ DB_FLAGS = -I%%BDB_INCLUDE_DIR%%
+ DB_LIBS = -L%%BDB_LIB_DIR%% -l%%BDB_LIB_CXX_NAME%%
+ DB_RPATH_LINK = $(call rpathlink,%%BDB_LIB_DIR%%)
endif
endif
endif