1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

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 <alex323@gmail.com>
This commit is contained in:
Juergen Lock 2014-01-11 22:03:26 +00:00
parent 79d55b4d7c
commit f745cff607
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339459
2 changed files with 14 additions and 2 deletions

View File

@ -31,6 +31,7 @@ USE_RC_SUBR= kqemu
NO_STAGE= yes
USES= kmod
.include <bsd.port.pre.mk>
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

View File

@ -31,6 +31,7 @@ USE_RC_SUBR= kqemu
NO_STAGE= yes
USES= kmod
.include <bsd.port.pre.mk>
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