diff options
author | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-06-05 00:54:48 +0000 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-06-05 01:11:30 +0000 |
commit | db689ba5bf6ada3df3338079b26f256118ec610b (patch) | |
tree | 1b26a7e48e3c21a609515a0ac8f5f238e929a72b | |
parent | 056670b6dfea6a484be7794eb30a757eca48feba (diff) |
emulators/virtualbox-ose-71: Fix build on 15-CURRENT after 1500013
kBuild: Linking VBoxSVC
(...cut...) undefined reference to `cam_close_device'
(...cut...) undefined reference to `cam_freeccb'
(...cut...) undefined reference to `cam_getccb'
(...cut...) undefined reference to `cam_open_btl'
(...cut...) undefined reference to `cam_send_ccb'
(...cut...) undefined reference to `cam_strvis'
(...cut...) undefined reference to `geom_deletetree'
(...cut...) undefined reference to `geom_gettree'
PR: 286799
MFH: 2025Q2
-rw-r--r-- | emulators/virtualbox-ose-71/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-71/Makefile b/emulators/virtualbox-ose-71/Makefile index b754e9555191..497a50bfd039 100644 --- a/emulators/virtualbox-ose-71/Makefile +++ b/emulators/virtualbox-ose-71/Makefile @@ -289,6 +289,9 @@ post-patch: ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500013 + @${ECHO_CMD} 'VBoxSVC_LDFLAGS.freebsd = -lsys' >> ${WRKSRC}/LocalConfig.kmk +.endif # Causes a "reinplace" QA warning with default LOCALBASE @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ |