Changeset View
Changeset View
Standalone View
Standalone View
emulators/virtualbox-ose/Makefile
Show All 39 Lines | |||||
VBOXUSER?= vboxusers | VBOXUSER?= vboxusers | ||||
VBOXWSUSER?= vboxusers | VBOXWSUSER?= vboxusers | ||||
VBOXGROUP?= vboxusers | VBOXGROUP?= vboxusers | ||||
USERS= ${VBOXUSER} | USERS= ${VBOXUSER} | ||||
GROUPS= ${VBOXGROUP} | GROUPS= ${VBOXGROUP} | ||||
VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} | VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} | ||||
VBOX_DIR_REL= lib/virtualbox | VBOX_DIR_REL= lib/virtualbox | ||||
VBOX_ETC= ${PREFIX}/etc/vbox | |||||
VBOX_LINKS= VBoxVRDP | VBOX_LINKS= VBoxVRDP | ||||
VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ | VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ | ||||
VBoxManage | VBoxManage | ||||
VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ | VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ | ||||
VBoxSVC VBoxXPCOMIPCD | VBoxSVC VBoxXPCOMIPCD | ||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
▲ Show 20 Lines • Show All 253 Lines • ▼ Show 20 Lines | @${SED} -e 's|GXX3|VBoxGccFreeBSD|g' \ | ||||
${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ | ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ | ||||
${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk | ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk | ||||
.endif | .endif | ||||
# Causes a "reinplace" QA warning with default LOCALBASE | # Causes a "reinplace" QA warning with default LOCALBASE | ||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ | @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ | ||||
${WRKSRC}/Config.kmk ${WRKSRC}/configure \ | ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ | ||||
${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ | ${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ | ||||
${WRKSRC}/kBuild/units/qt5.kmk ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ | ${WRKSRC}/kBuild/units/qt5.kmk ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ | ||||
${WRKSRC}/src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp \ | |||||
${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py | ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py | ||||
@${REINPLACE_CMD} \ | @${REINPLACE_CMD} \ | ||||
-e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' \ | -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' \ | ||||
-e 's|SUPPYTHONLIBS=.*|SUPPYTHONLIBS="${PYTHON_VERSION}${PYTHON_ABIVER}"|' \ | -e 's|SUPPYTHONLIBS=.*|SUPPYTHONLIBS="${PYTHON_VERSION}${PYTHON_ABIVER}"|' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
.if empty(ICONV_LIB) | .if empty(ICONV_LIB) | ||||
@${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk \ | @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk \ | ||||
${WRKSRC}/src/VBox/Runtime/Makefile.kmk | ${WRKSRC}/src/VBox/Runtime/Makefile.kmk | ||||
@${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk | @${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk | ||||
.endif | .endif | ||||
# Causes a "reinplace" QA warning with default PREFIX/VBOX_DIR | @${REINPLACE_CMD} -e 's|%%VBOX_DIR%%|${VBOX_DIR}|g' \ | ||||
@${REINPLACE_CMD} -e 's|/usr/local/lib/virtualbox|${VBOX_DIR}|' \ | -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ | ||||
-e 's|/usr/local|${PREFIX}|' \ | -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ | ||||
${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh | ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh | ||||
@${REINPLACE_CMD} -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ | |||||
${WRKSRC}/src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp | |||||
@${REINPLACE_CMD} \ | @${REINPLACE_CMD} \ | ||||
-e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \ | -e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \ | ||||
${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py | ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py | ||||
post-patch-AIO-off: | post-patch-AIO-off: | ||||
@${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \ | @${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \ | ||||
${WRKSRC}/src/VBox/Runtime/Makefile.kmk | ${WRKSRC}/src/VBox/Runtime/Makefile.kmk | ||||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |