Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2007 00:45:57 +0300 (EEST)
From:      Nikos Ntarmos <ntarmos@ceid.upatras.gr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/115954: [patch] sysutils/fusefs-kmod fuse_module/Makefile ignoring MAKEOBJDIRPREFIX and SRC_BASE
Message-ID:  <20070830214557.4A6863F457@ace.b020.ceid.upatras.gr>
Resent-Message-ID: <200708302150.l7ULo12O070259@freefall.freebsd.org>

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

>Number:         115954
>Category:       ports
>Synopsis:       [patch] sysutils/fusefs-kmod fuse_module/Makefile ignoring MAKEOBJDIRPREFIX and SRC_BASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 30 21:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Nikos Ntarmos
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
NetCInS Lab., C.E.I.D., U. of Patras, Greece
>Environment:
System: FreeBSD ace.b020.ceid.upatras.gr 7.0-CURRENT FreeBSD 7.0-CURRENT #4: Fri Jul 13 06:50:30 EEST 2007 ntarmos@ace.b020.ceid.upatras.gr:/opt/obj/opt/src/sys/ACE i386


	
>Description:
sysutils/fusefs-kmod/.../fuse_module/Makefile has /usr/obj and /usr/src
hardwired when computing the KERNCONFDIR variable. However, both of
these may be different than their default values.
	
>How-To-Repeat:
Try to build sysutils/fusefs-kmod with /usr/obj and/or /usr/src being
symlinks or with non-default values in MAKEOBJDIRPREFIX and/or SRC_BASE
in your make.conf.
	
>Fix:
The following is a diff against files/patch-fuse_module_Makefile in the
port directory.

--- patch-fuse_module_Makefile.diff begins here ---
--- files/patch-fuse_module_Makefile.orig	2007-08-31 00:37:39.000000000 +0300
+++ files/patch-fuse_module_Makefile	2007-08-31 00:28:18.000000000 +0300
@@ -6,7 +6,7 @@
  .if defined(KERNCONF)
 -KERNCONFDIR= /usr/obj/usr/src/sys/${KERNCONF}
 +KERNCONF1!= echo ${KERNCONF} | sed -e 's/ .*//g'
-+KERNCONFDIR= /usr/obj/usr/src/sys/${KERNCONF1}
++KERNCONFDIR= ${MAKEOBJDIRPREFIX}${SRC_BASE}/sys/${KERNCONF1}
  .endif
  
  .if defined(KERNCONFDIR)
--- patch-fuse_module_Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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