FreeBSD Bugzilla – Attachment 135162 Details for
Bug 179952
[patch] make emulators/kqemu-kmod-devel respect ${CC}
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.68 KB, created by
r4721@tormail.org
on 2013-06-25 10:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
r4721@tormail.org
Created:
2013-06-25 10:40:00 UTC
Size:
2.68 KB
patch
obsolete
>Index: emulators/kqemu-kmod-devel/Makefile >=================================================================== >--- emulators/kqemu-kmod-devel/Makefile (revision 321722) >+++ emulators/kqemu-kmod-devel/Makefile (working copy) >@@ -1,9 +1,5 @@ >-# New ports collection makefile for: kqemu-kmod >-# Date created: 2005/10/25 >-# Whom: nork@FreeBSD.org >-# >+# Created by: nork@FreeBSD.org > # $FreeBSD$ >-# > > PORTNAME= kqemu > PORTVERSION= 1.4.0.p1 >@@ -20,6 +16,9 @@ > MAINTAINER= nox@FreeBSD.org > COMMENT= Kernel Accelerator for QEMU CPU Emulator (development version) > >+LICENSE= GPLv2 >+LICENSE_FILE= ${WRKSRC}/COPYING >+ > ONLY_FOR_ARCHS= i386 amd64 > HAS_CONFIGURE= yes > USE_GMAKE= yes >@@ -37,6 +36,7 @@ > PLIST_FILES+= "@cwd /" > PLIST_FILES+= ${KMODDIR:C,^/,,}/kqemu.ko > PLIST_FILES+= "@unexec kldxref ${KMODDIR}" >+PLIST_FILES+= "@cwd ${PREFIX}" > > MAKEFILE= Makefile.freebsd > >@@ -56,28 +56,9 @@ > IGNORE= requires kernel source to be installed > .endif > >-.if ${OSVERSION} >= 700024 && ${OSVERSION} < 700053 && !defined(NOKSE) >-# XXX this is wrong if you have `nooption KSE' in your kernel config, >-# please define NOKSE in that case (no longer a problem after attilio's >-# Sun Jul 22 21:35:44 2007 UTC commit removing the KSE ABI incompatiblity) >-CFLAGS+= -DKSE >-.endif >+CFLAGS+= ${DEBUG_FLAGS} > >-CFLAGS+= ${DEBUG_FLAGS} >- >-post-extract: >-.if ${OSVERSION} >= 700024 && ${OSVERSION} < 700053 && !defined(NOKSE) >- @${ECHO_MSG} "Compiling with -DKSE." >- @${ECHO_MSG} "If this is wrong (i.e. you have \`nooption KSE' in your kernel config)," >- @${ECHO_MSG} "then please define NOKSE." >-.endif >- >-# 7.1 and head have seperate gdts also on amd64 now so the tss fixup code >-# is no longer needed there > post-patch: >-.if ${OSVERSION} >= 701100 && (${OSVERSION} < 800000 || ${OSVERSION} >= 800046) >- @cd ${WRKSRC} && ${PATCH} -R --quiet < ${FILESDIR}/patch-tssworkaround >-.endif > # Apply extra patches from the qemu-devel list; in the unlikely case that > # these cause regressions please define WITHOUT_EXTRA_PATCHES and post > # details about your host _and_ guest on freebsd-emulation@freebsd.org >@@ -87,6 +68,7 @@ > ${PATCH} -d ${WRKSRC} --quiet <$$i;\ > done > .endif >+ @${REINPLACE_CMD} -e '/CC=/s,gcc,${CC},' ${WRKSRC}/common/Makefile > > do-build: > @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} beforedepend && ${LN} -sfh @/sys sys) >@@ -97,7 +79,7 @@ > @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) > ${MKDIR} ${PREFIX}/include/kqemu > ${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu >-.if !defined(NOPORTDOCS) >+.if ${PORT_OPTIONS:MDOCS} > ${MKDIR} ${DOCSDIR} > ${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \ > ${DOCSDIR}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179952
: 135162