mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
emulators/virtualbox-ose*: Exclude from extract bundled binary files of kBuild
Thes is ~430-640 files, ~30-55MB total for different platforms. We are using devel/kBuild for build VirtualBox ports. devel/kBuild is a newer version than the one included in the VirtualBox tarballs.
This commit is contained in:
@@ -51,6 +51,8 @@ CONFLICTS_INSTALL= virtualbox-ose-legacy \
|
||||
virtualbox-ose-72 \
|
||||
virtualbox-ose-nox11-72
|
||||
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^7\.0\.
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= VBOXDIR=${VBOX_DIR} \
|
||||
|
||||
@@ -52,6 +52,8 @@ CONFLICTS_INSTALL= virtualbox-ose-legacy \
|
||||
virtualbox-ose-72 \
|
||||
virtualbox-ose-nox11-72
|
||||
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^7\.1\.
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= VBOXDIR=${VBOX_DIR} \
|
||||
|
||||
@@ -53,6 +53,8 @@ CONFLICTS_INSTALL= virtualbox-ose-legacy \
|
||||
virtualbox-ose-71 \
|
||||
virtualbox-ose-nox11-71
|
||||
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^7\.2\.
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= VBOXDIR=${VBOX_DIR} \
|
||||
|
||||
@@ -50,7 +50,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-legacy \
|
||||
virtualbox-ose-additions-nox11-72
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}-70/files
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \
|
||||
--exclude tools/*.amd64 \
|
||||
--exclude Firmware \
|
||||
--exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^7\.0\.
|
||||
|
||||
WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION}
|
||||
|
||||
@@ -47,7 +47,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-legacy \
|
||||
virtualbox-ose-additions-nox11-72
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}-71/files
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \
|
||||
--exclude tools/*.amd64 \
|
||||
--exclude Firmware \
|
||||
--exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^7\.1\.
|
||||
|
||||
WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION}
|
||||
|
||||
@@ -47,7 +47,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-legacy \
|
||||
virtualbox-ose-additions-nox11-71
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}-72/files
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \
|
||||
--exclude tools/*.amd64 \
|
||||
--exclude Firmware \
|
||||
--exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^7\.2\.
|
||||
|
||||
WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION}
|
||||
|
||||
@@ -47,7 +47,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions \
|
||||
virtualbox-ose-additions-nox11-72
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}-legacy/files
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \
|
||||
--exclude tools/*.amd64 \
|
||||
--exclude Firmware \
|
||||
--exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^5\.
|
||||
|
||||
WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION}
|
||||
@@ -150,6 +154,8 @@ post-patch-X11-on:
|
||||
${WRKSRC}/LocalConfig.kmk
|
||||
|
||||
pre-build:
|
||||
@${ECHO_CMD} 'export PATH_KBUILD="${WRKSRC}/kBuild"' >> ${WRKSRC}/env.sh
|
||||
@${ECHO_CMD} 'export PATH_DEVTOOLS="${WRKSRC}/tools"' >> ${WRKSRC}/env.sh
|
||||
cd ${WRKSRC} && ${SH} -c \
|
||||
". env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk"
|
||||
|
||||
|
||||
@@ -50,7 +50,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-legacy \
|
||||
virtualbox-ose-additions-nox11-72
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}/files
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware
|
||||
EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \
|
||||
--exclude tools/*.amd64 \
|
||||
--exclude Firmware \
|
||||
--exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^6\.
|
||||
|
||||
WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION}
|
||||
@@ -141,6 +145,8 @@ post-patch-X11-on:
|
||||
${WRKSRC}/LocalConfig.kmk
|
||||
|
||||
pre-build:
|
||||
@${ECHO_CMD} 'export PATH_KBUILD="${WRKSRC}/kBuild"' >> ${WRKSRC}/env.sh
|
||||
@${ECHO_CMD} 'export PATH_DEVTOOLS="${WRKSRC}/tools"' >> ${WRKSRC}/env.sh
|
||||
cd ${WRKSRC} && ${SH} -c \
|
||||
". env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk"
|
||||
|
||||
|
||||
@@ -42,6 +42,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod-legacy \
|
||||
virtualbox-ose-kmod-72
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}-70/files
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^7\.0\.
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
|
||||
|
||||
@@ -39,6 +39,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod-legacy \
|
||||
virtualbox-ose-kmod-72
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}-71/files
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^7\.1\.
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
|
||||
|
||||
@@ -38,6 +38,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod-legacy \
|
||||
virtualbox-ose-kmod-70
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}-72/files
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^7\.2\.
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
|
||||
|
||||
@@ -40,6 +40,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod \
|
||||
virtualbox-ose-kmod-72
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}-legacy/files
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^5\.
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
|
||||
|
||||
@@ -43,6 +43,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod-legacy \
|
||||
virtualbox-ose-kmod-72
|
||||
|
||||
PATCHDIR= ${.CURDIR}/../${PORTNAME}/files
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^6\.
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
|
||||
|
||||
@@ -48,6 +48,8 @@ CONFLICTS_INSTALL= virtualbox-ose \
|
||||
virtualbox-ose-72 \
|
||||
virtualbox-ose-nox11-72
|
||||
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^5\.
|
||||
SUB_LIST= VBOXDIR=${VBOX_DIR} \
|
||||
VBOXGROUP=${VBOXGROUP} \
|
||||
@@ -318,6 +320,8 @@ post-patch:
|
||||
${WRKSRC}/src/VBox/Runtime/generic/http-curl.cpp
|
||||
|
||||
do-build:
|
||||
@${ECHO_CMD} 'export PATH_KBUILD="${WRKSRC}/kBuild"' >> ${WRKSRC}/env.sh
|
||||
@${ECHO_CMD} 'export PATH_DEVTOOLS="${WRKSRC}/tools"' >> ${WRKSRC}/env.sh
|
||||
cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \
|
||||
${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}'
|
||||
.if ${PORT_OPTIONS:MPYTHON}
|
||||
|
||||
@@ -49,6 +49,8 @@ CONFLICTS_INSTALL= virtualbox-ose-legacy \
|
||||
virtualbox-ose-72 \
|
||||
virtualbox-ose-nox11-72
|
||||
|
||||
EXTRACT_AFTER_ARGS= --exclude kBuild/bin \
|
||||
--no-same-owner --no-same-permissions
|
||||
PORTSCOUT= limit:^6\.
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= VBOXDIR=${VBOX_DIR} \
|
||||
@@ -339,6 +341,8 @@ post-patch-AIO-off:
|
||||
${WRKSRC}/src/VBox/Runtime/Makefile.kmk
|
||||
|
||||
do-build:
|
||||
@${ECHO_CMD} 'export PATH_KBUILD="${WRKSRC}/kBuild"' >> ${WRKSRC}/env.sh
|
||||
@${ECHO_CMD} 'export PATH_DEVTOOLS="${WRKSRC}/tools"' >> ${WRKSRC}/env.sh
|
||||
cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \
|
||||
${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}'
|
||||
.if ${PORT_OPTIONS:MPYTHON}
|
||||
|
||||
Reference in New Issue
Block a user