Skip site navigation (1)Skip section navigation (2)
Date:      23 Jun 2000 00:51:22 -0000
From:      mwm@mired.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19452: The Fxtv port has /usr/local wired into the include path.
Message-ID:  <20000623005122.6832.qmail@guru.mired.org>

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

>Number:         19452
>Category:       ports
>Synopsis:       The Fxtv port has /usr/local wired into the include path.
>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 18:00:00 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 fxtv
	(and it's dependencies) are built.

>Description:

	The fxtv Makefile has /usr/local wired into it's Makefile. As
	a result, trying to build fxtv with LOCALBASE pointed elsewhere
	fails when the expected files aren't found

>How-To-Repeat:

	Set LOCALBASE to something other than /usr/local, and try making
	/usr/ports/graphics/fxtv. Note that the build fails when the
	dependencies aren't where it expects them to be.

>Fix:

	The attached patch (applied in /usr/ports/graphics/fxtv)
	will create a patch file for fxtv that solves the problem

--- patches-old/patch-aa        Wed Dec 31 18:00:00 1969
+++ patches/patch-aa    Thu Jun 22 18:36:26 2000
@@ -0,0 +1,14 @@
+--- Makefile-broken    Thu Jun 22 18:35:40 2000
++++ Makefile   Thu Jun 22 18:36:09 2000
+@@ -10,9 +10,9 @@
+ 
+ override CF_VERS           = -DVERS_STR=\"1.02\"
+ override VIDEOLIB_DIR      = ./videolib
+-override INC               = -I$(X11BASE)/include -I/usr/local/include \
++override INC               = -I$(X11BASE)/include -I${LOCALBASE}/include \
+                            -I$(VIDEOLIB_DIR) -I.
+-override LIBDIRS           = $(X11BASE)/lib /usr/local/lib
++override LIBDIRS           = $(X11BASE)/lib ${LOCALBASE}/lib
+ override SHELL             = /bin/sh
+ 
+ #

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