1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/emulators/qemu/files/patch-Makefile
Martin Wilke 4d356ed643 - Update to 20061102
PR:		ports/105086
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Sponsored by:   FreeBSD Bug-a-thon #2
2006-11-04 18:29:35 +00:00

34 lines
730 B
Plaintext

Index: qemu/Makefile
@@ -20,6 +20,10 @@
LDFLAGS+=-static
endif
ifdef BUILD_DOCS
+ifdef NOPORTDOCS
+DOCS=qemu.1 qemu-img.1
+else
DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1
+endif
else
DOCS=
@@ -28,7 +28,8 @@
ifndef CONFIG_DARWIN
ifndef CONFIG_WIN32
ifndef CONFIG_SOLARIS
-LIBS+=-lrt
+# XXX need ifndef CONFIG_BSD
+# LIBS+=-lrt
endif
endif
endif
@@ -72,8 +75,10 @@
common de-ch es fo fr-ca hu ja mk nl-be pt sl tr
install-doc: $(DOCS)
+ifndef NOPORTDOCS
mkdir -p "$(DESTDIR)$(docdir)"
$(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)"
+endif
ifndef CONFIG_WIN32
mkdir -p "$(DESTDIR)$(mandir)/man1"
$(INSTALL) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"