diff options
author | mm <mm@FreeBSD.org> | 2008-01-01 18:52:38 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2008-01-01 18:52:38 +0800 |
commit | 6f8357f0100157a37e373a376340e656f362d5ee (patch) | |
tree | 338f9cf3c403a2c28eff52b1b8be66e38d7f535a /sysutils/fusefs-kmod | |
parent | d947a620240af1774ef3fb39744678053b202794 (diff) | |
download | freebsd-ports-gnome-6f8357f0100157a37e373a376340e656f362d5ee.tar.gz freebsd-ports-gnome-6f8357f0100157a37e373a376340e656f362d5ee.tar.zst freebsd-ports-gnome-6f8357f0100157a37e373a376340e656f362d5ee.zip |
- Add support for SRC_BASE and MAKEOBJDIRPREFIX if using KERNCONF
PR: ports/115954
Submitted by: Nikos Ntarmos <ntarmos at ceid.upatras.gr>
Reworked by: mm
Approved by: maintainer timeout
Diffstat (limited to 'sysutils/fusefs-kmod')
-rw-r--r-- | sysutils/fusefs-kmod/files/patch-fuse_module_Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
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) |