pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xentools46 The Xen virtual machine monitor al...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/441a4ab6e614
branches:  trunk
changeset: 349333:441a4ab6e614
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Mon Jul 04 07:30:47 2016 +0000

description:
The Xen virtual machine monitor allows running several virtual machines
on a single physical machine.  The xentools46 package contains the
tools to create, destroy and control the virtual machines.

This package contains the tools for Xen 4.6.x

diffstat:

 sysutils/xentools46/DESCR                                                      |    5 +
 sysutils/xentools46/MESSAGE                                                    |   11 +
 sysutils/xentools46/MESSAGE.NetBSD                                             |   17 +
 sysutils/xentools46/Makefile                                                   |  250 +++++
 sysutils/xentools46/PLIST                                                      |  441 ++++++++++
 sysutils/xentools46/distinfo                                                   |   66 +
 sysutils/xentools46/files/blk_netbsd.c                                         |   38 +
 sysutils/xentools46/files/blktapctrl_netbsd.c                                  |   16 +
 sysutils/xentools46/files/locking.sh                                           |   72 +
 sysutils/xentools46/files/xen-watchdog.sh                                      |   17 +
 sysutils/xentools46/files/xencommons.sh                                        |  107 ++
 sysutils/xentools46/files/xendomains.sh                                        |  129 ++
 sysutils/xentools46/patches/patch-.._.._ipxe_src_core_settings.c               |   34 +
 sysutils/xentools46/patches/patch-.._.._ipxe_src_interface_efi_efi_snp.c       |   42 +
 sysutils/xentools46/patches/patch-.._.._ipxe_src_net_fcels.c                   |  124 ++
 sysutils/xentools46/patches/patch-.._.._ipxe_src_net_tls.c                     |   70 +
 sysutils/xentools46/patches/patch-.._Config.mk                                 |   22 +
 sysutils/xentools46/patches/patch-.._docs_man_xl.cfg.pod.5                     |   29 +
 sysutils/xentools46/patches/patch-.._docs_man_xl.conf.pod.5                    |   30 +
 sysutils/xentools46/patches/patch-.._docs_man_xl.pod.1                         |   44 +
 sysutils/xentools46/patches/patch-.._docs_man_xlcpupool.cfg.pod.5              |   28 +
 sysutils/xentools46/patches/patch-.._docs_misc_xl-disk-configuration.txt       |   13 +
 sysutils/xentools46/patches/patch-Makefile                                     |   22 +
 sysutils/xentools46/patches/patch-Rules.mk                                     |   51 +
 sysutils/xentools46/patches/patch-configure                                    |   48 +
 sysutils/xentools46/patches/patch-console_daemon_utils.c                       |   22 +
 sysutils/xentools46/patches/patch-examples_Makefile                            |   12 +
 sysutils/xentools46/patches/patch-firmware_etherboot_Makefile                  |   26 +
 sysutils/xentools46/patches/patch-firmware_etherboot_patches_series            |    9 +
 sysutils/xentools46/patches/patch-firmware_hvmloader_Makefile                  |   13 +
 sysutils/xentools46/patches/patch-hotplug_NetBSD_Makefile                      |   52 +
 sysutils/xentools46/patches/patch-hotplug_NetBSD_block                         |   37 +
 sysutils/xentools46/patches/patch-hotplug_NetBSD_vif-bridge                    |   16 +
 sysutils/xentools46/patches/patch-hotplug_NetBSD_vif-ip                        |   15 +
 sysutils/xentools46/patches/patch-hotplug_common_Makefile                      |   24 +
 sysutils/xentools46/patches/patch-include_xen-sys_NetBSD_gntdev.h              |  110 ++
 sysutils/xentools46/patches/patch-libfsimage_ufs_ufs.h                         |   13 +
 sysutils/xentools46/patches/patch-libxc_xc__netbsd.c                           |  251 +++++
 sysutils/xentools46/patches/patch-libxl_Makefile                               |   22 +
 sysutils/xentools46/patches/patch-libxl_libxl__create.c                        |   40 +
 sysutils/xentools46/patches/patch-libxl_libxl__netbsd.c                        |   30 +
 sysutils/xentools46/patches/patch-libxl_libxl__save__helper.c                  |   12 +
 sysutils/xentools46/patches/patch-libxl_libxl_uuid.c                           |   22 +
 sysutils/xentools46/patches/patch-libxl_xl__cmdtable.c                         |   13 +
 sysutils/xentools46/patches/patch-ocaml_common.make                            |   13 +
 sysutils/xentools46/patches/patch-ocaml_xenstored_Makefile                     |   12 +
 sysutils/xentools46/patches/patch-ocaml_xenstored_define.ml                    |   20 +
 sysutils/xentools46/patches/patch-ocaml_xenstored_utils.ml                     |   13 +
 sysutils/xentools46/patches/patch-pygrub_Makefile                              |   13 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_Makefile                |   84 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_block-raw-posix.c       |   62 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_configure               |   41 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_hw_e1000.c              |   34 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_hw_ide.c                |   37 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_hw_pass-through.c       |   13 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_hw_pass-through.h       |   18 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_hw_piix4acpi.c          |   17 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_hw_pt-graphics.c        |   13 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_hw_pt-msi.c             |   15 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_hw_pt-msi.h             |   12 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_i386-dm_hookstarget.mak |   12 +
 sysutils/xentools46/patches/patch-qemu-xen-traditional_xen-hooks.mak           |   34 +
 sysutils/xentools46/patches/patch-qemu-xen_audio_audio.c                       |   12 +
 sysutils/xentools46/patches/patch-qemu-xen_qemu-doc.texi                       |   15 +
 sysutils/xentools46/patches/patch-qemu-xen_xen-hvm.c                           |   13 +
 sysutils/xentools46/patches/patch-xenpaging_xenpaging.c                        |   18 +
 sysutils/xentools46/patches/patch-xenstore_xc.c                                |   18 +
 sysutils/xentools46/patches/patch-xentrace_xentrace.c                          |   13 +
 68 files changed, 3017 insertions(+), 0 deletions(-)

diffs (truncated from 3289 to 300 lines):

diff -r 903f3f0ef976 -r 441a4ab6e614 sysutils/xentools46/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools46/DESCR Mon Jul 04 07:30:47 2016 +0000
@@ -0,0 +1,5 @@
+The Xen virtual machine monitor allows running several virtual machines
+on a single physical machine.  The xentools46 package contains the
+tools to create, destroy and control the virtual machines.
+
+This package contains the tools for Xen 4.6.x
diff -r 903f3f0ef976 -r 441a4ab6e614 sysutils/xentools46/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools46/MESSAGE       Mon Jul 04 07:30:47 2016 +0000
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2016/07/04 07:30:47 jnemeth Exp $
+
+Please note that the xm command has been removed.
+You have to switch to the xl command, which is now functional on NetBSD.
+
+Also note that the rc.d scripts have been updated in this version.
+If you don't use PKG_RCD_SCRIPTS=YES then it is very important for
+you to copy the new rc.d scripts to /etc/rc.d.
+
+===========================================================================
diff -r 903f3f0ef976 -r 441a4ab6e614 sysutils/xentools46/MESSAGE.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools46/MESSAGE.NetBSD        Mon Jul 04 07:30:47 2016 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1.1.1 2016/07/04 07:30:47 jnemeth Exp $
+
+Please ensure that the Xen-specific devices needed by xend(8) exist:
+
+       cd /dev && sh MAKEDEV xen
+
+There are example configuration files for setting up a guest domain in:
+
+       ${EGDIR}/
+
+Please also refer to the the "NetBSD/xen How-To" for more information on
+creating a Xen setup:
+
+       http://www.NetBSD.org/ports/xen/howto.html
+
+===========================================================================
diff -r 903f3f0ef976 -r 441a4ab6e614 sysutils/xentools46/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools46/Makefile      Mon Jul 04 07:30:47 2016 +0000
@@ -0,0 +1,250 @@
+# $NetBSD: Makefile,v 1.1.1.1 2016/07/04 07:30:48 jnemeth Exp $
+
+VERSION=       4.6.3
+VERSION_IPXE=  9a93db3f0947484e30e753bbd61a10b17336e20e
+
+DISTNAME=              xen-${VERSION}
+PKGNAME=               xentools46-${VERSION}
+CATEGORIES=            sysutils
+MASTER_SITES=          http://bits.xensource.com/oss-xen/release/${VERSION}/
+
+DISTFILES=                                     ${DISTNAME}.tar.gz
+DISTFILES+=                                    ipxe-git-${VERSION_IPXE}.tar.gz
+SITES.ipxe-git-${VERSION_IPXE}.tar.gz +=       http://xenbits.xensource.com/xen-extfiles/
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://xenproject.org/
+COMMENT=               Userland Tools for Xen 4.6.x
+LICENSE=               gnu-gpl-v2
+
+# XXX add version check: Xen requires dev86 >= 0.16.14
+BUILD_DEPENDS+=        dev86-[0-9]*:../../devel/dev86 # needed to build firmware
+.if !exists(/usr/bin/iasl)
+BUILD_DEPENDS+=        acpica-utils-[0-9]*:../../sysutils/acpica-utils
+.endif
+DEPENDS+=      ${PYPKGPREFIX}-curses>=0:../../devel/py-curses
+
+PKG_SYSCONFSUBDIR=     xen
+
+ONLY_FOR_PLATFORM=     Linux-2.6*-i386 Linux-2.6*-x86_64
+ONLY_FOR_PLATFORM+=    NetBSD-[5-9].*-x86_64 NetBSD-[5-9].*-i386
+
+CONFLICTS+=            libxen-[0-9]*
+CONFLICTS+=            xentools20-[0-9]*
+CONFLICTS+=            xentools3-[0-9]*
+CONFLICTS+=            xenstoretools-[0-9]*
+
+XENTOP=                        ${WRKDIR}/xen-${VERSION}
+WRKSRC=                        ${XENTOP}/tools
+CHECK_PORTABILITY_SKIP=        examples/*
+
+EGDIR=                 ${PREFIX}/share/examples/xen
+MESSAGE_SUBST+=                EGDIR=${EGDIR}
+
+USE_TOOLS+=            pod2man gmake pkg-config makeinfo perl bash
+USE_LANGUAGES=         c
+
+GNU_CONFIGURE=         YES
+#CONFIGURE_ARGS+=      --enable-xenapi
+CONFIGURE_ARGS+=       --disable-seabios
+
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASE}
+
+MAKE_ENV+=             PREFIX=${prefix:Q} WRKSRC=${WRKSRC}
+MAKE_ENV+=             XEN_EXAMPLES_DIR=${EGDIR}
+MAKE_ENV+=             MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
+MAKE_ENV+=             V=YES
+MAKE_ENV+=             NO_WERROR=1
+
+#MAKE_ENV+=            INSTALL_DIR=${BSD_INSTALL_DATA_DIR}
+#MAKE_ENV+=            INSTALL_DATA=${BSD_INSTALL_DATA}
+#MAKE_ENV+=            INSTALL_PROG=${BSD_INSTALL_PROGRAM}
+
+PYTHON_VERSIONS_INCOMPATIBLE=  33 34 35
+
+PY_PATCHPLIST=         yes
+REPLACE_PYTHON+=       misc/xen-bugtool misc/xen-ringwatch misc/xencons
+REPLACE_PYTHON+=       misc/xenpvnetboot misc/xensymoops
+REPLACE_PYTHON+=       python/scripts/convert-legacy-stream
+REPLACE_PYTHON+=       python/scripts/verify-stream-v2
+REPLACE_PYTHON+=       xenmon/xenmon.py
+
+SUBST_CLASSES+=                perlpath
+SUBST_STAGE.perlpath=  pre-configure
+SUBST_FILES.perlpath=  ../tools/misc/xencov_split
+SUBST_FILES.perlpath+= ../tools/firmware/rombios/makesym.perl
+SUBST_FILES.perlpath+= ../tools/qemu-xen-traditional/texi2pod.pl
+SUBST_FILES.perlpath+= ../tools/examples/xeninfo.pl
+SUBST_FILES.perlpath+= ../tools/include/xen-external/bsd-sys-queue-h-seddery
+SUBST_FILES.perlpath+= ../tools/qemu-xen/scripts/texi2pod.pl
+SUBST_FILES.perlpath+= ../tools/qemu-xen/scripts/get_maintainer.pl
+SUBST_FILES.perlpath+= ../tools/qemu-xen/scripts/checkpatch.pl
+SUBST_FILES.perlpath+= ../tools/libxl/libxl_save_msgs_gen.pl
+SUBST_FILES.perlpath+= ../tools/libxl/check-libxl-api-rules
+SUBST_FILES.perlpath+= ../../ipxe/src/drivers/infiniband/qib_genbits.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/catrom.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/diffsize.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/disrom.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/get-pci-ids
+SUBST_FILES.perlpath+= ../../ipxe/src/util/licence.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/mergerom.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/modrom.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/padimg.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/parserom.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/sortobjdump.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/swapdevids.pl
+SUBST_FILES.perlpath+= ../../ipxe/src/util/symcheck.pl
+SUBST_SED.perlpath=    -e "s|/usr/bin/perl|${PREFIX}/bin/perl|g"
+
+SUBST_CLASSES+=                pathsvar
+SUBST_STAGE.pathsvar=  pre-configure
+SUBST_FILES.pathsvar=  Makefile \
+                       hotplug/Linux/init.d/sysconfig.xendomains
+SUBST_SED.pathsvar=    -e "s|/var/lib|${VARBASE}/run|g"
+
+SUBST_CLASSES+=                conf
+SUBST_STAGE.conf=      pre-configure
+SUBST_FILES.conf+=     ocaml/xenstored/define.ml
+SUBST_FILES.conf+=     libxl/xl_cmdtable.c
+SUBST_FILES.conf+=     ../docs/misc/xl-disk-configuration.txt
+SUBST_SED.conf=                -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g"
+
+XEND_SCRIPTS=          block vif-bridge vif-ip qemu-ifup hotplugpath.sh locking.sh
+
+SUBST_CLASSES.NetBSD+= proc
+SUBST_STAGE.proc=      pre-configure
+SUBST_FILES.proc+=     ocaml/xenstored/define.ml
+SUBST_SED.proc=                -e "s|/proc|/kern|g"
+
+OPSYSVARS+=            PROCPATH
+PROCPATH.NetBSD=       /kern
+PROCPATH.*=            /proc
+
+.include "../../mk/bsd.prefs.mk"
+
+SUBST_CLASSES+=                procdev
+SUBST_STAGE.procdev=   pre-configure
+SUBST_FILES.procdev=   ocaml/xenstored/define.ml
+.if ${OPSYS} == "NetBSD"
+SUBST_SED.procdev=     -e "s|@PROCDEV@|/dev|g"
+.else
+SUBST_SED.procdev=     -e "s|@PROCDEV@|/proc/xen|g"
+.endif
+
+.if ${OPSYS} == "NetBSD"
+MESSAGE_SRC=           ${.CURDIR}/MESSAGE ${.CURDIR}/MESSAGE.NetBSD
+.endif
+
+RCD_SCRIPTS=           xen-watchdog xencommons xendomains
+FILES_SUBST+=          RCD_INTERPRETER=${PYTHONBIN:Q}
+FILES_SUBST+=          PROCPATH=${PROCPATH:Q}
+FILES_SUBST+=          PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+FILES_SUBST+=          PREFIX=${PREFIX}
+
+CONF_FILES+=           ${EGDIR}/xl.conf ${PKG_SYSCONFDIR}/xl.conf
+CONF_FILES+=           ${EGDIR}/oxenstored.conf ${PKG_SYSCONFDIR}/oxenstored.conf
+
+OWN_DIRS=              ${PKG_SYSCONFDIR}/scripts ${VARBASE}/log/xen
+OWN_DIRS+=             ${VARBASE}/lib/xen
+
+.for s in ${XEND_SCRIPTS}
+CONF_FILES_PERMS+=     ${EGDIR}/scripts/${s} ${PKG_SYSCONFDIR}/scripts/${s} \
+                       ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
+.endfor
+
+pre-build:
+       rm -f ${WRKSRC}/check/check_x11_devel
+       ${CP} -f ${FILESDIR}/locking.sh  ${WRKSRC}/hotplug/NetBSD/
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xenstore-chmod.pod.1 |\
+           pod2man -n xenstore-chmod >${WRKDIR}/xenstore-chmod.1
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xenstore-ls.pod.1 |\
+           pod2man -n xenstore-ls >${WRKDIR}/xenstore-ls.1
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xenstore.pod.1 |\
+           pod2man -n xenstore >${WRKDIR}/xenstore.1
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xentop.pod.1 |\
+           pod2man -n xentop >${WRKDIR}/xentop.1
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xentrace.pod.8 |\
+           pod2man -n xentrace >${WRKDIR}/xentrace.8
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xentrace_format.pod.1 |\
+           pod2man -n xenstore_format >${WRKDIR}/xentrace_format.1
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xl.cfg.pod.5 |\
+           pod2man -n xl.cfg >${WRKDIR}/xl.cfg.5
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xl.conf.pod.5 |\
+           pod2man -n xl.conf >${WRKDIR}/xl.conf.5
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xl.pod.1 |\
+           pod2man -n xl >${WRKDIR}/xl.1
+       ${SED} -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+               ${XENTOP}/docs/man/xlcpupool.cfg.pod.5 |\
+           pod2man -n xlcpupool.cfg >${WRKDIR}/xlcpupool.cfg.5
+
+INSTALLATION_DIRS=     ${EGDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man8 share/doc/xen
+
+BUILD_DEFS+=           VARBASE
+
+post-install:
+       ${INSTALL_MAN} ${WRKDIR}/xenstore-chmod.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/xenstore-ls.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/xenstore.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/xentop.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/xentrace.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKDIR}/xentrace_format.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/xl.cfg.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+       ${INSTALL_MAN} ${WRKDIR}/xl.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+       ${INSTALL_MAN} ${WRKDIR}/xl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/xlcpupool.cfg.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+       ${INSTALL_DATA} ${XENTOP}/docs/misc/channel.txt ${DESTDIR}${PREFIX}/share/doc/xen
+       ${INSTALL_DATA} ${XENTOP}/docs/misc/console.txt ${DESTDIR}${PREFIX}/share/doc/xen
+       ${INSTALL_DATA} ${XENTOP}/docs/misc/dump-core-format.txt ${DESTDIR}${PREFIX}/share/doc/xen
+       ${INSTALL_DATA} ${XENTOP}/docs/misc/xen-command-line.markdown ${DESTDIR}${PREFIX}/share/doc/xen
+       ${INSTALL_DATA} ${XENTOP}/docs/misc/xenmon.txt ${DESTDIR}${PREFIX}/share/doc/xen
+       ${INSTALL_DATA} ${XENTOP}/docs/misc/xenstore-paths.markdown ${DESTDIR}${PREFIX}/share/doc/xen
+       ${INSTALL_DATA} ${XENTOP}/docs/misc/xenstore.txt ${DESTDIR}${PREFIX}/share/doc/xen
+       ${INSTALL_DATA} ${XENTOP}/docs/misc/xl-disk-configuration.txt ${DESTDIR}${PREFIX}/share/doc/xen
+       ${INSTALL_DATA} ${XENTOP}/docs/misc/xl-network-configuration.markdown ${DESTDIR}${PREFIX}/share/doc/xen
+
+.if (${OPSYS} == "NetBSD" && \
+    (empty(OS_VERSION:M6.99.[3-9]?) && empty(OS_VERSION:M[7-9].*)))
+CPPFLAGS+=     -Dshm_open=open -Dshm_unlink=unlink
+.endif
+
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+EXTRA_HOSTCFLAGS+=     -Wno-error=ignored-attributes
+EXTRA_CFLAGS+= -Wno-error=ignored-attributes -no-integrated-as \
+               -Wno-error=tautological-compare -Wno-error=null-dereference \
+               -Wno-error=empty-body -Wno-error=self-assign \
+               -Wno-error=sometimes-uninitialized \
+               -Wno-error=unused-function -Wno-error=format \
+               -Wno-error=unused-const-variable \
+               -Wno-error=gnu-designator -Wno-error=uninitialized \
+               -Wno-error=parentheses-equality \
+               -Wno-error=enum-conversion
+BUILDLINK_TRANSFORM+=  rm:-falign-jumps=1 rm:-falign-loops=1 \
+                       rm:-mpreferred-stack-boundary=2
+.endif
+
+MAKE_ENV+=     EXTRA_HOSTCFLAGS=${EXTRA_HOSTCFLAGS:Q} EXTRA_CFLAGS=${EXTRA_CFLAGS:M*:Q}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+#.include "../../devel/SDL/buildlink3.mk"
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../devel/ocaml-findlib/buildlink3.mk"
+.include "../../sysutils/pciutils/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/yajl/buildlink3.mk"
+.include "../../devel/argp/buildlink3.mk"
+.include "../../x11/pixman/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 903f3f0ef976 -r 441a4ab6e614 sysutils/xentools46/PLIST



Home | Main Index | Thread Index | Old Index