aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/kqemu-kmod-devel
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2014-01-12 06:03:26 +0800
committernox <nox@FreeBSD.org>2014-01-12 06:03:26 +0800
commit9b3538d883330e254deb545615487cba65f91463 (patch)
treeff255eaf57a32a951f982fd39750d1f052c075d8 /emulators/kqemu-kmod-devel
parent5e6c4d3da63bc058bde5940a7df8d1ae96d01a2c (diff)
downloadfreebsd-ports-gnome-9b3538d883330e254deb545615487cba65f91463.tar.gz
freebsd-ports-gnome-9b3538d883330e254deb545615487cba65f91463.tar.zst
freebsd-ports-gnome-9b3538d883330e254deb545615487cba65f91463.zip
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>
Diffstat (limited to 'emulators/kqemu-kmod-devel')
-rw-r--r--emulators/kqemu-kmod-devel/Makefile8
1 files changed, 7 insertions, 1 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 <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