Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2003 00:20:26 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55053: Update port: databases/dbh
Message-ID:  <20030731002026.42f74993.tkato@prontomail.com>
Resent-Message-ID: <200307301530.h6UFUGc1065962@freefall.freebsd.org>

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

>Number:         55053
>Category:       ports
>Synopsis:       Update port: databases/dbh
>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:   Wed Jul 30 08:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Do not install useless .la file
- Utilize USE_GNOME

New file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/databases/dbh/Makefile databases/dbh/Makefile
--- /usr/ports/databases/dbh/Makefile	Sat Apr 12 22:38:14 2003
+++ databases/dbh/Makefile	Wed Jul 30 20:59:19 2003
@@ -8,6 +8,7 @@
 
 PORTNAME=	dbh
 PORTVERSION=	1.0.14
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -17,17 +18,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Disk Based Hashtables
 
-BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
-RUN_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
-
-USE_REINPLACE=	yes
+USE_GNOME=	gnomehack gnometarget pkgconfig
 USE_LIBTOOL=	yes
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
 INSTALLS_SHLIB=	yes
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|libdir[)]/pkgconfig|prefix)/libdata/pkgconfig|g' \
-			${WRKSRC}/src/Makefile.in
 
 .include <bsd.port.mk>
diff -urN /usr/ports/databases/dbh/files/patch-configure databases/dbh/files/patch-configure
--- /usr/ports/databases/dbh/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ databases/dbh/files/patch-configure	Wed Jul 30 20:58:23 2003
@@ -0,0 +1,10 @@
+--- configure.orig	Mon Mar 17 12:08:31 2003
++++ configure	Wed Jul 30 20:58:14 2003
+@@ -7349,6 +7349,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/databases/dbh/pkg-plist databases/dbh/pkg-plist
--- /usr/ports/databases/dbh/pkg-plist	Sat Apr 12 22:38:15 2003
+++ databases/dbh/pkg-plist	Wed Jul 30 20:58:48 2003
@@ -2,9 +2,7 @@
 include/dbh.h
 include/dbh_config.h
 include/dbh_functions.h
-lib/libdbh-1.0.so
-lib/libdbh-1.0.so.1
 lib/libdbh.a
-lib/libdbh.la
 lib/libdbh.so
+lib/libdbh.so.1
 libdata/pkgconfig/dbh-1.0.pc
>Release-Note:
>Audit-Trail:
>Unformatted:



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