]> CyberLeo.Net >> Repos - CDN/cdn-ports-overlay.git/blob - cdn/patch/deprecated/net_openafs_Makefile-fix_config_file.patch
misc-cdn/cdn-base: remove portaudit
[CDN/cdn-ports-overlay.git] / cdn / patch / deprecated / net_openafs_Makefile-fix_config_file.patch
1 # http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164242
2
3 --- net/openafs/Makefile        2012-01-07 17:09:35.000000000 -0600
4 +++ net/openafs/Makefile        2012-01-17 07:03:44.998004247 -0600
5 @@ -52,7 +52,8 @@
6  .include <bsd.port.pre.mk>
7  
8  KERNCONF?=     GENERIC
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,^/,,}
14  
15 @@ -97,7 +98,7 @@
16  # Do not show users the reminder about cleandepend and depend
17  post-extract:
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
21  
22  create-sample-files:
23         @${ECHO_CMD} openafs.org > ${WRKDIR}/ThisCell
24