diff options
author | hrs <hrs@FreeBSD.org> | 2011-06-27 10:52:45 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2011-06-27 10:52:45 +0800 |
commit | 59f51754eaaea28ca74f80083acca70be2fe4ace (patch) | |
tree | 2a7039f6a3018ecd01886bf8952decfb459188a8 /print/acroreadwrapper | |
parent | 6c546c7475adb68e599274dae5b9b183639eaa1a (diff) | |
download | freebsd-ports-graphics-59f51754eaaea28ca74f80083acca70be2fe4ace.tar.gz freebsd-ports-graphics-59f51754eaaea28ca74f80083acca70be2fe4ace.tar.zst freebsd-ports-graphics-59f51754eaaea28ca74f80083acca70be2fe4ace.zip |
Fix build in the case that $KERNCONF has multiple configuration files.
Spotted by: Nicolas Rachinsky
Diffstat (limited to 'print/acroreadwrapper')
-rw-r--r-- | print/acroreadwrapper/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/print/acroreadwrapper/Makefile b/print/acroreadwrapper/Makefile index 5e8a51a9671..c8f8c35e341 100644 --- a/print/acroreadwrapper/Makefile +++ b/print/acroreadwrapper/Makefile @@ -41,7 +41,12 @@ KMODDIR= libexec/linux_adobe .include <bsd.port.pre.mk> 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 |