From 6f8357f0100157a37e373a376340e656f362d5ee Mon Sep 17 00:00:00 2001 From: mm Date: Tue, 1 Jan 2008 10:52:38 +0000 Subject: - Add support for SRC_BASE and MAKEOBJDIRPREFIX if using KERNCONF PR: ports/115954 Submitted by: Nikos Ntarmos Reworked by: mm Approved by: maintainer timeout --- sysutils/fusefs-kmod/files/patch-fuse_module_Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'sysutils/fusefs-kmod') diff --git a/sysutils/fusefs-kmod/files/patch-fuse_module_Makefile b/sysutils/fusefs-kmod/files/patch-fuse_module_Makefile index bc9987f51296..4da86f55b6dc 100644 --- a/sysutils/fusefs-kmod/files/patch-fuse_module_Makefile +++ b/sysutils/fusefs-kmod/files/patch-fuse_module_Makefile @@ -1,12 +1,18 @@ --- fuse_module/Makefile.orig 2007-06-19 14:35:22.000000000 +0200 +++ fuse_module/Makefile 2007-08-16 18:31:50.000000000 +0200 -@@ -21,7 +21,8 @@ +@@ -21,7 +21,14 @@ .endif .if defined(KERNCONF) -KERNCONFDIR= /usr/obj/usr/src/sys/${KERNCONF} ++.if !defined(MAKEOBJDIRPREFIX) ++MAKEOBJDIRPREFIX=/usr/obj ++.endif ++.if !defined(SRC_BASE) ++SRC_BASE=/usr/src ++.endif +KERNCONF1!= echo ${KERNCONF} | sed -e 's/ .*//g' -+KERNCONFDIR= /usr/obj/usr/src/sys/${KERNCONF1} ++KERNCONFDIR= ${MAKEOBJDIRPREFIX}${SRC_BASE}/sys/${KERNCONF1} .endif .if defined(KERNCONFDIR) -- cgit