Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2005 20:12:28 +0800 (CST)
From:      Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Gea-Suan Lin <gslin@ccca.nctu.edu.tw>, kcwu@ck.tp.edu.tw
Subject:   ports/89413: Update port: chinese/libtabe
Message-ID:  <20051122121228.C1E507E@netnews.NCTU.edu.tw>
Resent-Message-ID: <200511221220.jAMCKI79019523@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89413
>Category:       ports
>Synopsis:       Update port: chinese/libtabe
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 22 12:20:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sun Nov 6 23:34:35 CST 2005 root@netnews.NCTU.edu.tw:/da1/usr.obj/da0/usr.src/sys/NETNEWS i386


	
>Description:
	Use bsd.databases.mk to decide BerkeleyDB version.
	
>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/chinese/libtabe/Makefile ./Makefile
--- /usr/ports/chinese/libtabe/Makefile	Fri Mar 19 19:49:45 2004
+++ ./Makefile	Tue Nov 22 20:09:10 2005
@@ -7,22 +7,17 @@
 
 PORTNAME=	libtabe
 PORTVERSION=	0.2.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	chinese
 MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
 
 MAINTAINER=	kcwu@ck.tp.edu.tw
 COMMENT=	Unified library for Chinese text processing
 
-.if !defined(USE_DB2)
-LIB_DEPENDS=	db3.3:${PORTSDIR}/databases/db3
-.else
-LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db2
-.endif
-
 WRKSRC=		${WRKDIR}/libtabe
 INSTALLS_SHLIB=	yes
 HAS_CONFIGURE=	yes
+USE_BDB=	41+
 USE_GMAKE=	yes
 USE_XLIB=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
@@ -31,26 +26,12 @@
 		--with-db-bin=${LOCALBASE}/bin \
 		--enable-shared
 
-.if !defined(USE_DB2)
-CONFIGURE_ARGS+= --with-db-inc=${LOCALBASE}/include/db3
-.else
-CONFIGURE_ARGS+= --with-db-inc=${LOCALBASE}/include/db2
-.endif
-
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"
 BROKEN=		"Does not compile on amd64"
 .endif
 
-pre-fetch:
-.if !defined(USE_DB2)
-	@${ECHO} --
-	@${ECHO} "Type \"make -DUSE_DB2\" if you want use DB2."
-	@${ECHO} "Otherwise, xcin2.5 will use DB3."
-	@${ECHO} --
-.endif
-
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${PREFIX}/share/doc/tabe
@@ -62,6 +43,6 @@
 .endfor
 .endif
 	${MKDIR} ${PREFIX}/share/tabe
-	${TOUCH} ${PREFIX}/share/tabe/libtabe-0.2.5
+	${TOUCH} ${PREFIX}/share/tabe/libtabe-${PORTVERSION}
 
 .include <bsd.port.post.mk>
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051122121228.C1E507E>