Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2000 11:46:02 -0700 (PDT)
From:      t-ogawa@triaez.kaisei.org
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21172: xemacs21 and xemacs21-mule implicitly LIB_DEPENDS on gdbm
Message-ID:  <20000910184602.1CA4537B423@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000910184602.1CA4537B423>