patch for ruby-bdb (Was: portupgrade portupgrade leaves an error....)

Sergey Matveychuk sem at FreeBSD.org
Sat Jul 1 16:48:47 UTC 2006


Well, I did send-pr a couple hours ago but it's still not in GNATS.
I'm afraid I can forget to track. So here is a patch.
IIRC attachment will cut in main list, so here is cut&paste. The patch
is two-lined, so you can apply the changes by hands.

-- 
Dixi.
Sem.

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


More information about the freebsd-ports mailing list