ports/devel/php5-ice/files/patch-cpp-config-Make.rules
Ruslan Makhmatkhanov 761142e0b4 - update to 3.5.0
- pass maintainership to submitter
- new style Makefile header
- optionsNG
- install shared PHP file in the correct place
- don't install slice files anymore, since devel/ice (a dependency)
  already installs those in the correct location
- add license (GPLv2)
- fix BUILD_DEPENDS
- add option that allows to use of PHP5 namespaces
- support PHP 5.4
- fixes for Clang and C++11
- remove outdated pkg-message
- fix patch filenames

PR:		179241
Submitted by:	Michael Gmelin <freebsd@grem.de>
2013-06-17 11:49:32 +00:00

13 lines
514 B
Text

--- cpp.orig/config/Make.rules Fri Mar 11 16:19:00 2013
+++ cpp/config/Make.rules Fri May 19 22:00:09 2013
@@ -233,7 +233,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