From owner-freebsd-ports Thu Jun 22 17:10:11 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EAEEE37C034 for ; Thu, 22 Jun 2000 17:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA96224; Thu, 22 Jun 2000 17:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from guru.mired.org (zoom2-182.telepath.com [216.14.2.182]) by hub.freebsd.org (Postfix) with SMTP id BD5CD37BF37 for ; Thu, 22 Jun 2000 17:09:08 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 97877 invoked by uid 100); 23 Jun 2000 00:08:51 -0000 Message-Id: <20000623000851.97876.qmail@guru.mired.org> Date: 23 Jun 2000 00:08:51 -0000 From: mwm@mired.org Reply-To: mwm@mired.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19451: The tk83 port breaks if tcl83 is not installed in /usr/local Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19451 >Category: ports >Synopsis: The tk83 port breaks if tcl83 is not installed in /usr/local >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 22 17:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mike Meyer >Release: FreeBSD 5.0-CURRENT i386 >Organization: Meyer Consulting >Environment: LOCALBASE is set to something other than /usr/local when tcl83 & tk83 are built and installed. >Description: The patch files for the tk83 port hardware the location of the tcl libraries to /usr/local/lib. This is not true if LOCALBASE is set to something other than /usr/local. So the build fails when it can't find the tcl libraries it needs. >How-To-Repeat: Install tcl83 and tk83 with LOCALBASE set to something other than /usr/local. Notice that the tk83 install fails when it doesn't find tk83 in /usr/local. >Fix: The following patch (applied in /usr/ports/x11-toolkits/tk83) will fix the patch file with /usr/local wired into it. --- patches-aa-broken Thu Jun 22 13:30:33 2000 +++ patches/patch-aa Thu Jun 22 13:30:52 2000 @@ -30,7 +30,7 @@ TCL_LIB_SPEC='-L$(TCL_BIN_DIR) $(TCL_LIB_FLAG)' -TCL_STUB_LIB_SPEC='-L$(TCL_BIN_DIR) $(TCL_STUB_LIB_FLAG)' -+TCL_STUB_LIB_SPEC='/usr/local/lib/libtclstub83.a' ++TCL_STUB_LIB_SPEC='${LOCALBASE}/lib/libtclstub83.a' if test "${SHARED_BUILD}" = "1" -a "${SHLIB_SUFFIX}" != ""; then TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message