Skip site navigation (1)Skip section navigation (2)
Date:      22 Jun 2000 23:54:22 -0000
From:      mwm@mired.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19450: The jpeg library port assumes that libtool is in /usr/local/bin
Message-ID:  <20000622235422.94986.qmail@guru.mired.org>

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

>Number:         19450
>Category:       ports
>Synopsis:       The jpeg library port assumes that libtool is in /usr/local/bin
>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:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mike Meyer
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Meyer Consulting
>Environment:

	/usr/ports/graphics/jpeg, with LOCALBASE set to something
	other that /usr/local (and libtool installed in that
	location). Note that the directory that libtool is installed
	in must be in the path for this to work for *all* libtool
	builds, whether they hardware the path in place or not.

>Description:

	The jpeg Makefile assumes that libtool is in
	/usr/local/bin. The port is patched from "./libtool" to
	"/usr/local/bin/libtool". On a system where LOCALBASE is
	somewhere other than /usr/local, this causes the build to
	fail.

>How-To-Repeat:

	Set LOCALBASE to something other than /usr/local, and make sure
	libtool is installed there (and not in /usr/local). Make sure
	that the directory that libtool is installed in is in your
	path (failure to do this uncovers a different bug that's in
	the ports package proper) and make install. Watch the build
	fail.

>Fix:

	The following patch (apply it in /usr/ports/graphics/jpeg)
	causes the build process to look for libtool in the
	path. Changing this to ${LIBTOOL} may be more appropriate, but
	this patch works.

--- patch-ab-broken	Thu Jun 22 12:17:22 2000
+++ patches/patch-ab	Thu Jun 22 12:18:43 2000
@@ -5,7 +5,7 @@
  if test "x$LTSHARED" != xno  -o  "x$LTSTATIC" != xno; then
    USELIBTOOL="yes"
 -  LIBTOOL="./libtool"
-+  LIBTOOL="/usr/local/bin/libtool"
++  LIBTOOL="libtool"
    O="lo"
    A="la"
    LN='$(LIBTOOL) --mode=link $(CC)'



>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?20000622235422.94986.qmail>