diff options
author | knu <knu@FreeBSD.org> | 2002-01-15 21:56:52 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-01-15 21:56:52 +0000 |
commit | f930cd5ee96d758ff7f1172adc99ce88de26f1a8 (patch) | |
tree | 05518c47e13a519d3733e810b4bb8bd3c4eea0a5 | |
parent | e3e572e3730000816623178b44f99f4a9e67bd9d (diff) | |
download | FreeBSD-ports-f930cd5ee96d758ff7f1172adc99ce88de26f1a8.zip FreeBSD-ports-f930cd5ee96d758ff7f1172adc99ce88de26f1a8.tar.gz |
Add a WITH_BDB4 knob.
-rw-r--r-- | databases/ruby-bdb/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile index eeb9c2e..1bc6163 100644 --- a/databases/ruby-bdb/Makefile +++ b/databases/ruby-bdb/Makefile @@ -10,17 +10,27 @@ PORTVERSION= 0.2.9 CATEGORIES= databases ruby MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +#.if defined(WITH_BDB4) +#PKGNAMESUFFIX= 4 +#.endif DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org +.if defined(WITH_BDB4) +LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 +.else LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3 +.endif USE_RUBY= yes USE_RUBY_EXTCONF= yes -CONFIGURE_ARGS= --with-db-include-dir="${PREFIX}/include/db3" \ - --with-db-lib-dir="${PREFIX}/lib/db3" +.if defined(WITH_BDB4) +CONFIGURE_ARGS= --with-db-include-dir="${PREFIX}/include/db4" +.else +CONFIGURE_ARGS= --with-db-include-dir="${PREFIX}/include/db3" +.endif INSTALL_TARGET= site-install DOCS= Changes README.en bdb.html bdb.rd docs/* |