1 # http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164242
3 --- net/openafs/Makefile 2012-01-07 17:09:35.000000000 -0600
4 +++ net/openafs/Makefile 2012-01-17 07:03:44.998004247 -0600
6 .include <bsd.port.pre.mk>
9 -KERNCONFDIR?= ${SRC_BASE}/sys/${ARCH}/conf
10 +KRNLCONFDIR= ${SRC_BASE}/sys/${ARCH}/conf
11 +KERNCONFDIR?= ${KRNLCONFDIR}
12 KMODDIR= /boot/modules
13 PLIST_SUB+= KMODDIR=${KMODDIR:C,^/,,}
16 # Do not show users the reminder about cleandepend and depend
18 ${MKDIR} ${WRKDIR}/conf
19 - cd ${KERNCONFDIR} && /usr/sbin/config -d ${WRKDIR}/conf ${_KERNCONF} >/dev/null
20 + cd ${KRNLCONFDIR} && /usr/sbin/config -d ${WRKDIR}/conf ${KERNCONFDIR}/${_KERNCONF} > /dev/null
23 @${ECHO_CMD} openafs.org > ${WRKDIR}/ThisCell