From f745cff60740acacce5c3ee9c84daa153103b631 Mon Sep 17 00:00:00 2001 From: Juergen Lock Date: Sat, 11 Jan 2014 22:03:26 +0000 Subject: [PATCH] Mark BROKEN on 10+: KPI changes in 10 and up, use bhyve or vbox. (If someone wants to fix it: patches welcome! :) PR: ports/184984 Submitted by: Alex --- emulators/kqemu-kmod-devel/Makefile | 8 +++++++- emulators/kqemu-kmod/Makefile | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/emulators/kqemu-kmod-devel/Makefile b/emulators/kqemu-kmod-devel/Makefile index 3d4d21798084..33a540e037cd 100644 --- a/emulators/kqemu-kmod-devel/Makefile +++ b/emulators/kqemu-kmod-devel/Makefile @@ -31,6 +31,7 @@ USE_RC_SUBR= kqemu NO_STAGE= yes USES= kmod + .include PORTDOCS= kqemu-doc.html kqemu-tech.html @@ -42,7 +43,7 @@ PLIST_FILES+= "@cwd" MAKEFILE= Makefile.freebsd -MAKE_ARGS+= LDFLAGS=${LDFLAGS:S/^-Wl,//} +MAKE_ARGS+= LDFLAGS="${LDFLAGS:S/^-Wl,//}" .if ${ARCH} == "amd64" GMAKE_ARGS+= ARCH=x86_64 @@ -50,6 +51,11 @@ GMAKE_ARGS+= ARCH=x86_64 CFLAGS+= ${DEBUG_FLAGS} +# Not sure about the exact OSVERSION: +.if ${OSVERSION} > 1000015 +BROKEN= KPI changes in 10 and up, use bhyve or vbox +.endif + post-patch: # Apply extra patches from the qemu-devel list; in the unlikely case that # these cause regressions please define WITHOUT_EXTRA_PATCHES and post diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile index 35953714ee79..f93d7afd6ba5 100644 --- a/emulators/kqemu-kmod/Makefile +++ b/emulators/kqemu-kmod/Makefile @@ -31,6 +31,7 @@ USE_RC_SUBR= kqemu NO_STAGE= yes USES= kmod + .include PORTDOCS= kqemu-doc.html kqemu-tech.html @@ -42,7 +43,7 @@ PLIST_FILES+= "@cwd" MAKEFILE= Makefile.freebsd -MAKE_ARGS+= LDFLAGS=${LDFLAGS:S/^-Wl,//} +MAKE_ARGS+= LDFLAGS="${LDFLAGS:S/^-Wl,//}" .if ${ARCH} == "amd64" GMAKE_ARGS+= ARCH=x86_64 @@ -50,6 +51,11 @@ GMAKE_ARGS+= ARCH=x86_64 CFLAGS+= ${DEBUG_FLAGS} +# Not sure about the exact OSVERSION: +.if ${OSVERSION} > 1000015 +BROKEN= KPI changes in 10 and up, use bhyve or vbox +.endif + post-patch: @${REINPLACE_CMD} -e '/CC=/s,gcc,${CC},' ${WRKSRC}/common/Makefile