From owner-freebsd-ports Sun Sep 10 11:50: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3D2F037B423 for ; Sun, 10 Sep 2000 11:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA42398; Sun, 10 Sep 2000 11:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 1CA4537B423; Sun, 10 Sep 2000 11:46:02 -0700 (PDT) Message-Id: <20000910184602.1CA4537B423@hub.freebsd.org> Date: Sun, 10 Sep 2000 11:46:02 -0700 (PDT) From: t-ogawa@triaez.kaisei.org To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/21172: xemacs21 and xemacs21-mule implicitly LIB_DEPENDS on gdbm Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21172 >Category: ports >Synopsis: xemacs21 and xemacs21-mule implicitly LIB_DEPENDS on gdbm >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 10 11:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: OGAWA Takaya >Release: 5.0-CURRENT >Organization: >Environment: FreeBSD aragorn.t-ogawa.trans-nt.co.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #13: Thu Aug 31 05:52:55 JST 2000 root@aragorn.t-ogawa.trans-nt.co.jp:/usr/src/sys/compile/ARAGORN i386 >Description: Configure script of editors/xemacs21 and editors/xemacs21-mule detects databases/gdbm (if installed) and links against it. However, the library is not listed in LIB_DEPENDS in both ports. This is not good. >How-To-Repeat: Install databases/gdbm, then install editors/xemacs21 or editors/xemacs21-mule. ldd(1) shows: % ldd /usr/local/bin/xemacs21-mule | grep gdbm libgdbm.so.2 => /usr/local/lib/libgdbm.so.2 (0x28654000) >Fix: Add '--with-database=berkdb' to CONFIGURE_ARGS. This prevents detection of gdbm and xemacs will use berkley db (in libc) instead. patch for xemacs21/Makefile: --- xemacs21/Makefile.orig Mon Sep 11 03:42:45 2000 +++ xemacs21/Makefile Mon Sep 11 03:43:24 2000 @@ -44,6 +44,7 @@ --with-png=yes \ --with-tiff=yes \ --with-site-lisp \ + --with-database=berkdb ${WITH_XFACE} ${WITH_DIALOGS} ${WITH_OFFIX} MAKE_ARGS= prefix=${PREFIX} .if !defined(MULE_SLAVE) patch for xemacs21-mule/Makefile: --- xemacs21-mule/Makefile.orig Mon Sep 11 03:01:21 2000 +++ xemacs21-mule/Makefile Mon Sep 11 03:01:51 2000 @@ -57,6 +57,7 @@ --with-jpeg \ --with-png \ --with-tiff \ + --with-database=berkdb \ --infopath=${PREFIX}/lib/xemacs/info:${PREFIX}/info:${X11BASE}/info:/usr/info:${PREFIX}/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info \ --with-clash-detection \ --lockdir=/var/run/emacs/lock \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message