ports/122257: [PATCH] sysutils/fusefs-kmod: use correct kernel objdir when KERNCONF is set
Rong-En Fan
rafan at FreeBSD.org
Sun Mar 30 13:50:01 UTC 2008
>Number: 122257
>Category: ports
>Synopsis: [PATCH] sysutils/fusefs-kmod: use correct kernel objdir when KERNCONF is set
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 30 13:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Rong-En Fan
>Release: FreeBSD 7.0-STABLE amd64
>Organization:
NTU CSIE
>Environment:
System: FreeBSD svm.csie.ntu.edu.tw 7.0-STABLE FreeBSD 7.0-STABLE #1: Sat Mar 29 11:44:08 CST 2008
>Description:
I usually set KERNCONF in /etc/make.conf. And /usr/src is a symlink
to other space. fuse module's Makefile uses hardcoded /usr/obj/usr/src/sys.
It should use correct patch from /usr/src/Makefile.inc1.
Added file(s):
- files/patch-fuse_module__Makefile
Port maintainer (amistry at am-productions.biz) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- fusefs-kmod-0.3.9.p1.20080208.patch begins here ---
Index: files/patch-fuse_module__Makefile
===================================================================
RCS file: files/patch-fuse_module__Makefile
diff -N files/patch-fuse_module__Makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-fuse_module__Makefile 30 Mar 2008 13:43:19 -0000
@@ -0,0 +1,12 @@
+--- fuse_module/Makefile.orig 2008-03-30 21:36:21.000000000 +0800
++++ fuse_module/Makefile 2008-03-30 21:39:23.000000000 +0800
+@@ -22,7 +22,8 @@
+
+ .if defined(KERNCONF)
+ KERNCONF1!= echo ${KERNCONF} | sed -e 's/ .*//g'
+-KERNCONFDIR= /usr/obj/usr/src/sys/${KERNCONF1}
++KRNLOBJDIR!= make -C /usr/src -f /usr/src/Makefile.inc1 -V KRNLOBJDIR
++KERNCONFDIR= ${KRNLOBJDIR}/${KERNCONF1}
+ .endif
+
+ .if defined(KERNCONFDIR)
--- fusefs-kmod-0.3.9.p1.20080208.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list