Skip site navigation (1)Skip section navigation (2)
Date:      23 Jun 2000 00:08:51 -0000
From:      mwm@mired.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19451: The tk83 port breaks if tcl83 is not installed in /usr/local
Message-ID:  <20000623000851.97876.qmail@guru.mired.org>

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

>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




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