diff options
author | daichi <daichi@FreeBSD.org> | 2005-06-29 16:03:30 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2005-06-29 16:03:30 +0800 |
commit | c017e9aab1841a529087199cd7a352500fba6be1 (patch) | |
tree | fb43aec07562fd9c7c412d378e671a81bccd1b12 /sysutils/portupgrade-devel | |
parent | b3f3a8b8ad62cd0d0103b8c0f24a60483f767c93 (diff) | |
download | freebsd-ports-gnome-c017e9aab1841a529087199cd7a352500fba6be1.tar.gz freebsd-ports-gnome-c017e9aab1841a529087199cd7a352500fba6be1.tar.zst freebsd-ports-gnome-c017e9aab1841a529087199cd7a352500fba6be1.zip |
- sysutils/portupgrade: add option for BDB4:
(1) Do not change default dependency (depend on ruby-bdb1),
since ruby-bdb (BDB >= 2) support is not so tested.
(2) Thus, no PORTREVISION bump.
- a little Makefile change for portlint clean
PR: ports/82000
Submitted by: Alexander Novitsky <alecn@server.v42of.icc-vvd.ru>
Reviewed by: KOMATSU Shinichiro <koma2@lovepeers.org> (maintainer)
Diffstat (limited to 'sysutils/portupgrade-devel')
-rw-r--r-- | sysutils/portupgrade-devel/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile index 1a037f0ad26d..7a99dd0ae24f 100644 --- a/sysutils/portupgrade-devel/Makefile +++ b/sysutils/portupgrade-devel/Makefile @@ -14,6 +14,9 @@ MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ MASTER_SITE_SUBDIR= knu DISTNAME= pkgtools-${DISTVERSION} +MAINTAINER= koma2@lovepeers.org +COMMENT= FreeBSD ports/packages administration and management tool suite + DISTVERSION= 20041224 .if ${DISTVERSION} != ${PORTVERSION} @@ -23,12 +26,7 @@ PATCHFILES= ${DISTNAME}-${PORTVERSION}.diff.bz2 PATCH_DIST_STRIP= -p1 .endif -MAINTAINER= koma2@lovepeers.org -COMMENT= FreeBSD ports/packages administration and management tool suite - -RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1 -# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb} -# ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb +OPTIONS= BDB4 "Use Berkeley DB >=2 as backend. (Use BDB 1.85 if off)" off USE_RC_SUBR= yes USE_BZIP2= yes @@ -61,11 +59,18 @@ INSTALL_TARGET+= install-doc .include <bsd.port.pre.mk> +.if defined(WITH_BDB4) +# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb} +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb +.else +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1 +.endif + # pkg_create(1) must support -b. (4.5-RELEASE or later) # XXX: PKG_CMD is not defined yet.. PKG_CREATE_OK!= /usr/sbin/pkg_create 2>&1 | ${GREP} ' -b ' || ${TRUE} .if empty(PKG_CREATE_OK) -IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4 +IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4 .endif post-install: |