Fix pre-build target to properly set environment variables. Note there is
no functional change but it is done for correctness. Also, note the change is merged from emulators/virtualbox-ose (r355732).
This commit is contained in:
parent
d0b5c0de83
commit
9ce8c1bf2d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391963
@ -158,11 +158,8 @@ post-patch:
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' \
|
||||
${WRKSRC}/env.sh \
|
||||
${WRKSRC}/src/VBox/Additions/freebsd/Installer/vboxguest.sh
|
||||
cd ${WRKSRC} && ${SH} env.sh && \
|
||||
${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}
|
||||
cd ${WRKSRC} && \
|
||||
${SH} -c '. env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}'
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${KMODDIR}
|
||||
|
@ -91,10 +91,8 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' ${WRKSRC}/configure
|
||||
|
||||
pre-build:
|
||||
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' \
|
||||
${WRKSRC}/env.sh
|
||||
cd ${WRKSRC} && ${SH} env.sh && cd ${WRKSRC}/src/VBox/HostDrivers && \
|
||||
${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}
|
||||
cd ${WRKSRC}/src/VBox/HostDrivers && \
|
||||
${SH} -c '. ${WRKSRC}/env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}'
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${KMODDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user