Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 22:03:27 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339459 - in head/emulators: kqemu-kmod kqemu-kmod-devel
Message-ID:  <201401112203.s0BM3Rlh070748@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Sat Jan 11 22:03:26 2014
New Revision: 339459
URL: http://svnweb.freebsd.org/changeset/ports/339459

Log:
  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>

Modified:
  head/emulators/kqemu-kmod-devel/Makefile
  head/emulators/kqemu-kmod/Makefile

Modified: head/emulators/kqemu-kmod-devel/Makefile
==============================================================================
--- head/emulators/kqemu-kmod-devel/Makefile	Sat Jan 11 21:37:10 2014	(r339458)
+++ head/emulators/kqemu-kmod-devel/Makefile	Sat Jan 11 22:03:26 2014	(r339459)
@@ -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

Modified: head/emulators/kqemu-kmod/Makefile
==============================================================================
--- head/emulators/kqemu-kmod/Makefile	Sat Jan 11 21:37:10 2014	(r339458)
+++ head/emulators/kqemu-kmod/Makefile	Sat Jan 11 22:03:26 2014	(r339459)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401112203.s0BM3Rlh070748>