summaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2006-09-16 21:39:30 +0000
committeradrianp <adrianp@pkgsrc.org>2006-09-16 21:39:30 +0000
commit0b9569e477ac1a8defb7241d55e3025e03deccc2 (patch)
treebc27bc330d4015cb5ba056f872d852f587a63014 /emulators/qemu
parent07ba6e63d3859c1b5331a14784cec9ecae784423 (diff)
downloadpkgsrc-0b9569e477ac1a8defb7241d55e3025e03deccc2.tar.gz
If we're installing the man files we need perl and texi2html to generate
them. This will finish off the following commit: http://mail-index.netbsd.org/pkgsrc-changes/2006/09/16/0029.html
Diffstat (limited to 'emulators/qemu')
-rw-r--r--emulators/qemu/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 27cbfc5a58d..caa52951419 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2006/09/16 12:09:09 hira Exp $
+# $NetBSD: Makefile,v 1.41 2006/09/16 21:39:30 adrianp Exp $
#
DISTNAME= qemu-0.8.2
@@ -13,9 +13,11 @@ COMMENT= CPU emulator using dynamic translation
CONFLICTS+= qemu-bin-*
NOT_FOR_PLATFORM= NetBSD-1.[0-6]*-*
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake perl:build
HAS_CONFIGURE= yes
+BUILD_DEPENDS+= texi2html-[0-9]*:../../textproc/texi2html
+
.include "../../mk/bsd.prefs.mk"
GCC_REQD+= 3.0
@@ -40,6 +42,8 @@ SUBST_FILES.smbd= vl.c
SUBST_SED.smbd= -e s,/usr/sbin/smbd,${PREFIX:Q}/sbin/smbd,g
SUBST_MESSAGE.smbd= Fixing hardcoded paths.
+REPLACE_PERL+= texi2pod.pl
+
# Remove -march/-mcpu from CFLAGS, otherwise it will fail
# to build in the SSE code.
BUILDLINK_TRANSFORM+= rm-optarg:-march rm-optarg:-mcpu
@@ -55,6 +59,9 @@ post-install:
${INSTALL_DATA} ${FILESDIR:Q}/Makefile.multinode-NetBSD \
${PREFIX:Q}/share/doc/qemu/
+ ${INSTALL_MAN} ${WRKSRC}/qemu.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/qemu-img.1 ${PREFIX}/${PKGMANDIR}/man1
+
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"