summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/Makefile
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-11-10 20:25:25 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-11-10 20:25:25 +0000
commit1296c9cfcdba397bf55c7ab120be058e497a739b (patch)
treedcffa08b8effdff548958a7ee49bda8cf1d940e2 /emulators/qemu-devel/Makefile
parentUpdate to 0.7.0. (diff)
- Fix plist when security/nss is installed. [1]
- (Attempt to) fix build with unusual locales(?). [2] Reported by: jkim (via private email) [1] Reported by: AN <andy@neu.net> on -ports [2]
Diffstat (limited to 'emulators/qemu-devel/Makefile')
-rw-r--r--emulators/qemu-devel/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile
index 06dc81208b94..6ae26c78afee 100644
--- a/emulators/qemu-devel/Makefile
+++ b/emulators/qemu-devel/Makefile
@@ -46,9 +46,11 @@ STATIC_LINK_DESC= Statically link the executables
OPTIONS_DEFAULT=X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP
NO_STAGE= yes
+
.include <bsd.port.options.mk>
CONFIGURE_ARGS+= --extra-ldflags=-L${LOCALBASE}/lib
+CONFIGURE_ARGS+= --disable-smartcard-nss
PORTDOCS= docs qemu-doc.html qemu-tech.html qmp-commands.txt
.if ${PORT_OPTIONS:MX86_TARGETS}
@@ -232,6 +234,9 @@ post-patch:
@cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/cdrom-dma-patch
.endif
@${REINPLACE_CMD} -E \
+ -e "/^by Tibor .TS. S/s|Sch.*z.$$|Schuetz.|" \
+ ${WRKSRC}/qemu-doc.texi
+ @${REINPLACE_CMD} -E \
-e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing|" \
-e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \
${WRKSRC}/Makefile.target