aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2011-06-27 02:52:45 +0000
committerHiroki Sato <hrs@FreeBSD.org>2011-06-27 02:52:45 +0000
commit1020fcac76d3683fdf92908d3cb5bff0089da9d4 (patch)
tree929d30471826048cddc44fcb1d7db3615c05f6d1 /print
parentd623feae0664b5027567a0906f676e1f947a0955 (diff)
downloadports-1020fcac76d3683fdf92908d3cb5bff0089da9d4.tar.gz
ports-1020fcac76d3683fdf92908d3cb5bff0089da9d4.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/acroreadwrapper/Makefile7
1 files changed, 6 insertions, 1 deletions
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 <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