ports/devel/ice/files/patch-cpp-config-Make.rules
Michael Gmelin 4aff7c172a Update devel/ice, devel/py-ice and devel/php5-ice to 3.6.0
PR:		201143
Differential Revision:	https://reviews.freebsd.org/D2930
Reviewed by:	bapt
Approved by:	bapt
Tested by:	Roger Leigh <rleigh@codelibre.net>
2015-07-13 19:48:31 +00:00

13 lines
504 B
Text

--- cpp/config/Make.rules.orig 2015-06-23 15:30:20.000000000 +0000
+++ cpp/config/Make.rules 2015-06-27 10:26:42.692387147 +0000
@@ -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