aboutsummaryrefslogtreecommitdiff
path: root/chinese/xsim
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-06-01 21:56:00 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-06-01 21:56:00 +0000
commit04c8a9ae5f6bbd9ce9ccd56de83298eaff53d976 (patch)
treeaf12599fc7cd7778b0e9931e3f46f2de02650624 /chinese/xsim
parentce93314237428c3a73b1c93abb7bd9e4764fdb5a (diff)
downloadports-04c8a9ae5f6bbd9ce9ccd56de83298eaff53d976.tar.gz
ports-04c8a9ae5f6bbd9ce9ccd56de83298eaff53d976.zip
Notes
Diffstat (limited to 'chinese/xsim')
-rw-r--r--chinese/xsim/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile
index 9749e2a9a751..0c37b9ae7b46 100644
--- a/chinese/xsim/Makefile
+++ b/chinese/xsim/Makefile
@@ -18,7 +18,9 @@ COMMENT= A simple and fast GBK Chinese XIM server
USE_XORG= x11
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-cn-locale=eucCN
+CONFIGURE_ARGS= --with-cn-locale=eucCN \
+ --with-bdb-includes=${BDB_INCLUDE_DIR} \
+ --with-bdb-libraries=${BDB_LIB_DIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message xsim.sh
USE_BDB= 40+
@@ -40,7 +42,7 @@ post-patch:
@${FIND} ${WRKSRC} ! -type d \
-exec ${GREP} -q _CPP_BITS_IOSBASE_H '{}' \; \
-exec ${REINPLACE_CMD} 's/#ifdef _CPP_BITS_IOSBASE_H/#if defined(_IOS_BASE_H) || defined(_CPP_BITS_IOSBASE_H)/g' '{}' \;
- @${REINPLACE_CMD} "s/-O2/${CFLAGS}/g" ${WRKSRC}/configure
+ ${REINPLACE_CMD} "s/-O2/${CFLAGS}/g; s,/usr/local,${LOCALBASE},; s|s,@bdblib@,\$$bdblib,|s,@bdblib@,${BDB_LIB_CXX_NAME},|" ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKDIR}/xsim.sh ${PREFIX}/bin/xsim