diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-07-13 21:15:50 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-07-13 21:15:50 +0000 |
commit | 9ce8c1bf2d7aa0e75779885df022f64591657145 (patch) | |
tree | 3f5f8e52ec42808841a2451d02b8068a4aea29f0 /emulators | |
parent | d0b5c0de83b87fecef464deeb0d01ab2e0f3c6cb (diff) | |
download | ports-9ce8c1bf2d7aa0e75779885df022f64591657145.tar.gz ports-9ce8c1bf2d7aa0e75779885df022f64591657145.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/virtualbox-ose-additions/Makefile | 7 | ||||
-rw-r--r-- | emulators/virtualbox-ose-kmod/Makefile | 6 |
2 files changed, 4 insertions, 9 deletions
diff --git a/emulators/virtualbox-ose-additions/Makefile b/emulators/virtualbox-ose-additions/Makefile index d2814d6d82e0..6992d2e36306 100644 --- a/emulators/virtualbox-ose-additions/Makefile +++ b/emulators/virtualbox-ose-additions/Makefile @@ -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} diff --git a/emulators/virtualbox-ose-kmod/Makefile b/emulators/virtualbox-ose-kmod/Makefile index ec3bbbdea4ec..789dcad63bd2 100644 --- a/emulators/virtualbox-ose-kmod/Makefile +++ b/emulators/virtualbox-ose-kmod/Makefile @@ -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} |