Date: Sun, 17 May 2009 03:47:12 +0900 From: Hajimu UMEMOTO <ume@mahoroba.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Hajimu UMEMOTO <ume@FreeBSD.org>, des@FreeBSD.org Subject: ports/134585: zsh depends upon gdbm implicitly Message-ID: <ygepre86g27.wl%ume@mahoroba.org> Resent-Message-ID: <200905161850.n4GIo3p8011951@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134585 >Category: ports >Synopsis: zsh depends upon gdbm implicitly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 16 18:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hajimu UMEMOTO >Release: FreeBSD 7.2-RELEASE i386 >Organization: Internet Mutual Aid Society Yokohama, Japan >Environment: System: FreeBSD yuga.mahoroba.org 7.2-RELEASE FreeBSD 7.2-RELEASE #4: Wed May 13 02:41:26 JST 2009 root@yuga.mahoroba.org:/usr/obj/usr/src/sys/YUGA i386 >Description: Zsh depends upon gdbm implicitly. >How-To-Repeat: Install zsh after gdbm is installed. >Fix: Apply following patch: Index: zsh/Makefile diff -u zsh/Makefile.orig zsh/Makefile --- zsh/Makefile.orig 2009-01-22 01:00:26.000000000 +0900 +++ zsh/Makefile 2009-05-17 02:32:03.602351851 +0900 @@ -32,7 +32,8 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-bsdtar -OPTIONS= ZSH_MEM "Enable zsh-mem and zsh-secure-free options" on \ +OPTIONS= ZSH_GDBM "Enable GDBM support" off \ + ZSH_MEM "Enable zsh-mem and zsh-secure-free options" on \ ZSH_MAILDIR "Enable support for Maildirs in MAIL(PATH)" on \ ZSH_MULTIBYTE "Enable multibyte character support" on \ ZSH_PCRE "Enable PCRE support" off \ @@ -52,6 +53,14 @@ .include <bsd.port.pre.mk> +.if defined(WITH_ZSH_GDBM) +LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm +PLIST_SUB+= GDBM="" +.else +CONFIGURE_ARGS+= --disable-gdbm +PLIST_SUB+= GDBM="@comment " +.endif + .if defined(WITH_ZSH_PCRE) CONFIGURE_ARGS+= --enable-pcre LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre Index: zsh/pkg-plist diff -u zsh/pkg-plist.orig zsh/pkg-plist --- zsh/pkg-plist.orig 2008-12-05 22:20:00.000000000 +0900 +++ zsh/pkg-plist 2009-05-17 02:34:46.535832466 +0900 @@ -14,6 +14,7 @@ %%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/computil.so %%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/curses.so %%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/datetime.so +%%GDBM%%%%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/db/gdbm.so %%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/deltochar.so %%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/example.so %%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/files.so @@ -39,6 +40,7 @@ %%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/zpty.so %%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/zselect.so %%SHARED%%lib/zsh/%%ZSH_VER%%/zsh/zutil.so +%%GDBM%%%%SHARED%%@dirrm lib/zsh/%%ZSH_VER%%/zsh/db %%SHARED%%@dirrm lib/zsh/%%ZSH_VER%%/zsh/net %%SHARED%%@dirrm lib/zsh/%%ZSH_VER%%/zsh %%SHARED%%@dirrm lib/zsh/%%ZSH_VER%% -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygepre86g27.wl%ume>