From 59f51754eaaea28ca74f80083acca70be2fe4ace Mon Sep 17 00:00:00 2001 From: hrs Date: Mon, 27 Jun 2011 02:52:45 +0000 Subject: Fix build in the case that $KERNCONF has multiple configuration files. Spotted by: Nicolas Rachinsky --- print/acroreadwrapper/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'print/acroreadwrapper') diff --git a/print/acroreadwrapper/Makefile b/print/acroreadwrapper/Makefile index 5e8a51a96711..c8f8c35e3412 100644 --- a/print/acroreadwrapper/Makefile +++ b/print/acroreadwrapper/Makefile @@ -41,7 +41,12 @@ KMODDIR= libexec/linux_adobe .include KERNCONF?= GENERIC -.if !exists(${SRC_BASE}/sys/${ARCH}/conf/${KERNCONF}) +# Use the first component of ${KERNCONF}. +.for K in ${KERNCONF} +_KERNCONF?=$K +.endfor + +.if !exists(${SRC_BASE}/sys/${ARCH}/conf/${_KERNCONF}) IGNORE= requires kernel source to be installed .endif -- cgit