# http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164242 --- net/openafs/Makefile 2012-01-07 17:09:35.000000000 -0600 +++ net/openafs/Makefile 2012-01-17 07:03:44.998004247 -0600 @@ -52,7 +52,8 @@ .include KERNCONF?= GENERIC -KERNCONFDIR?= ${SRC_BASE}/sys/${ARCH}/conf +KRNLCONFDIR= ${SRC_BASE}/sys/${ARCH}/conf +KERNCONFDIR?= ${KRNLCONFDIR} KMODDIR= /boot/modules PLIST_SUB+= KMODDIR=${KMODDIR:C,^/,,} @@ -97,7 +98,7 @@ # Do not show users the reminder about cleandepend and depend post-extract: ${MKDIR} ${WRKDIR}/conf - cd ${KERNCONFDIR} && /usr/sbin/config -d ${WRKDIR}/conf ${_KERNCONF} >/dev/null + cd ${KRNLCONFDIR} && /usr/sbin/config -d ${WRKDIR}/conf ${KERNCONFDIR}/${_KERNCONF} > /dev/null create-sample-files: @${ECHO_CMD} openafs.org > ${WRKDIR}/ThisCell