summaryrefslogtreecommitdiff
path: root/chinese/libtabe
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-05-05 04:23:04 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-05-05 04:23:04 +0000
commit10db9272a1632e9193a6f09a276cd99d9e78647a (patch)
tree27d6d23f9f4ec8d24c38f005e530e2420f40e829 /chinese/libtabe
parenteaccess() only exists on recent versions of -current, not on -stable. (diff)
Add USE_XLIB and correct a LIB_DEPENDS bogon.
Noticed by: bento
Notes
Notes: svn path=/head/; revision=58567
Diffstat (limited to 'chinese/libtabe')
-rw-r--r--chinese/libtabe/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/chinese/libtabe/Makefile b/chinese/libtabe/Makefile
index 9d3e982e59e5..971f6d776700 100644
--- a/chinese/libtabe/Makefile
+++ b/chinese/libtabe/Makefile
@@ -12,8 +12,9 @@ MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
MAINTAINER= kcwu@ck.tp.edu.tw
+.if !defined(USE_DB2)
LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3
-.if defined(USE_DB2)
+.else
LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db
.endif
@@ -21,6 +22,7 @@ WRKSRC= ${WRKDIR}/libtabe
INSTALLS_SHLIB= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
+USE_XLIB= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--includedir=${PREFIX}/include/tabe \
--with-db-lib=${LOCALBASE}/lib \