aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/Makefile
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-06 16:53:56 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-06 16:53:56 +0000
commitfb5abdc6f5f09294f994601e0c3aa6ee398a8684 (patch)
tree54764218acd1e9ac3237bbdcc94b399e257664fd /devel/ice/Makefile
parent126a5e1958912ca563924bc40888c4114d2590c1 (diff)
downloadports-fb5abdc6f5f09294f994601e0c3aa6ee398a8684.tar.gz
ports-fb5abdc6f5f09294f994601e0c3aa6ee398a8684.zip
Notes
Diffstat (limited to 'devel/ice/Makefile')
-rw-r--r--devel/ice/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/ice/Makefile b/devel/ice/Makefile
index f38da321dfd2..1671b4b11530 100644
--- a/devel/ice/Makefile
+++ b/devel/ice/Makefile
@@ -13,11 +13,12 @@ MASTER_SITES= http://www.zeroc.com/download/Ice/3.1/
MAINTAINER= shoesoft@gmx.net
COMMENT= A modern alternative to object middleware such as CORBA/COM/DCOM/COM+
-LIB_DEPENDS= db-4.2.2:${PORTSDIR}/databases/db42 \
- expat.6:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
USE_GMAKE= yes
-INSTALLS_SHLIB= yes
+USE_BDB= 42+
+INVALID_BDB_VER= 2 3 40 41
+USE_LDCONFIG= yes
CFLAGS+= -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT ${PTHREAD_CFLAGS}
.if defined(DEBUG)
@@ -47,6 +48,10 @@ post-patch:
s|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \
s|%%INSTALL_DATA%%|${INSTALL_DATA}|g' \
${FILESDIR}/Make.rules.FreeBSD > ${WRKSRC}/config/Make.rules.FreeBSD
+ ${REINPLACE_CMD} 's|%%BDB_LIB_CXX_NAME%%|${BDB_LIB_CXX_NAME}|g; \
+ s|%%BDB_LIB_DIR%%|${BDB_LIB_DIR}|g; \
+ s|%%BDB_INCLUDE_DIR%%|${BDB_INCLUDE_DIR}|g' \
+ ${WRKSRC}/config/Make.rules
${REINPLACE_CMD} 's|prefix|install_slicedir|g' ${WRKSRC}/config/Makefile
${REINPLACE_CMD} 's|prefix|install_slicedir|g; \
s|INSTALL_PROGRAM|INSTALL_DATA|g' ${WRKSRC}/config/ca/Makefile