pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/qemu If we're installing the man files we ne...
details: https://anonhg.NetBSD.org/pkgsrc/rev/598b2f7547d0
branches: trunk
changeset: 518755:598b2f7547d0
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Sat Sep 16 21:39:30 2006 +0000
description:
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:
emulators/qemu/Makefile | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 9d5f7c9b2cf4 -r 598b2f7547d0 emulators/qemu/Makefile
--- a/emulators/qemu/Makefile Sat Sep 16 20:00:03 2006 +0000
+++ b/emulators/qemu/Makefile Sat Sep 16 21:39:30 2006 +0000
@@ -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 @@
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_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 @@
${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"
Home |
Main Index |
Thread Index |
Old Index