Date: Sun, 02 Jul 2006 00:26:05 +0400 From: Sergey Matveychuk <sem@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/99697: [patch] databases/ruby-bdb links with a wrong library if there are more than one db port installed Message-ID: <E1Fwm2X-0000OO-5q@mail.ciam.ru> Resent-Message-ID: <200607012030.k61KUGL1020094@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 99697 >Category: ports >Synopsis: [patch] databases/ruby-bdb links with a wrong library if there are more than one db port installed >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 01 20:30:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Sergey Matveychuk >Release: FreeBSD 4.11-RELEASE i386 >Organization: >Environment: System: FreeBSD sprite.ciam.ru 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Tue Jan 24 10:46:38 MSK 2006 root@sprite.ciam.ru:/usr/obj/usr/src/sys/PROXY i386 >Description: databases/ruby-bdb port links only highest version of databases/db* ports. If user set other version with WITH_BDB_VER ruby-bdb builds with a port that user set, but links with highest version. it's caused ruby-bdb unworkable. >How-To-Repeat: >Fix: --- ruby-bdb.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/databases/ruby-bdb/Makefile,v retrieving revision 1.49 diff -u -r1.49 Makefile --- Makefile 7 Jun 2006 05:57:47 -0000 1.49 +++ Makefile 1 Jul 2006 15:01:54 -0000 @@ -7,6 +7,7 @@ PORTNAME= bdb PORTVERSION= 0.5.9 +PORTREVISION= 1 CATEGORIES= databases ruby MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -24,7 +25,8 @@ USE_RUBY_EXTCONF= yes USE_RUBY_RDOC= yes -CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \ +CONFIGURE_ARGS= --with-db-version=-${_BDB_VER:C/([0-9])([0-9])/\1.\2/} \ + --with-db-include=${BDB_INCLUDE_DIR} \ --with-db-lib=${BDB_LIB_DIR} INSTALL_TARGET= site-install --- ruby-bdb.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Fwm2X-0000OO-5q>