Changeset View
Changeset View
Standalone View
Standalone View
sysutils/xen-tools/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= xen | PORTNAME= xen | ||||
PKGNAMESUFFIX= -tools | PKGNAMESUFFIX= -tools | ||||
PORTVERSION= 4.12.1 | PORTVERSION= 4.13.0 | ||||
PORTREVISION= 0 | PORTREVISION= 0 | ||||
CATEGORIES= sysutils emulators | CATEGORIES= sysutils emulators | ||||
MASTER_SITES= http://downloads.xenproject.org/release/xen/${PORTVERSION}/ | MASTER_SITES= http://downloads.xenproject.org/release/xen/${PORTVERSION}/ | ||||
MAINTAINER= royger@FreeBSD.org | MAINTAINER= royger@FreeBSD.org | ||||
COMMENT= Xen management tools | COMMENT= Xen management tools | ||||
LICENSE= GPLv2 LGPL3 | LICENSE= GPLv2 LGPL3 | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
LIB_DEPENDS= libyajl.so:devel/yajl \ | LIB_DEPENDS= libyajl.so:devel/yajl \ | ||||
liblzo2.so:archivers/lzo2 \ | liblzo2.so:archivers/lzo2 \ | ||||
libpixman-1.so:x11/pixman \ | libpixman-1.so:x11/pixman \ | ||||
libargp.so:devel/argp-standalone | libargp.so:devel/argp-standalone \ | ||||
libxml2.so:textproc/libxml2 | |||||
bapt: You should use USES=iconv (See Mk/Uses/iconv.mk for the arguments) | |||||
BUILD_DEPENDS= seabios>0:misc/seabios | BUILD_DEPENDS= seabios>0:misc/seabios | ||||
RUN_DEPENDS= seabios>0:misc/seabios | RUN_DEPENDS= seabios>0:misc/seabios | ||||
DOCS_BUILD_DEPENDS=markdown:textproc/markdown | DOCS_BUILD_DEPENDS=markdown:textproc/markdown | ||||
OPTIONS_DEFINE= DOCS SPICE | OPTIONS_DEFINE= DOCS SPICE | ||||
OPTIONS_DEFAULT= DOCS | OPTIONS_DEFAULT= DOCS | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
SPICE_DESC= Enable SPICE protocol for QEMU | SPICE_DESC= Enable SPICE protocol for QEMU | ||||
SPICE_CONFIGURE_WITH= extra-qemuu-configure-args="--enable-spice" | SPICE_CONFIGURE_WITH= extra-qemuu-configure-args="--enable-spice" | ||||
SPICE_BUILD_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol | SPICE_BUILD_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol | ||||
SPICE_LIB_DEPENDS= libspice-server.so:devel/libspice-server | SPICE_LIB_DEPENDS= libspice-server.so:devel/libspice-server | ||||
ONLY_FOR_ARCHS= amd64 | ONLY_FOR_ARCHS= amd64 | ||||
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than amd64" | ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than amd64" | ||||
USES= cpe gettext gmake gnome libtool localbase:ldflags perl5 \ | USES= cpe gettext gmake gnome libtool localbase:ldflags perl5 \ | ||||
pkgconfig python:2.7 shebangfix | pkgconfig python shebangfix iconv | ||||
USE_GNOME= glib20 | USE_GNOME= glib20 | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
HAS_CONFIGURE= yes | HAS_CONFIGURE= yes | ||||
# Set ARCH=x86_64 in order to overwrite the environment ARCH=amd64 | # Set ARCH=x86_64 in order to overwrite the environment ARCH=amd64 | ||||
MAKE_ARGS= clang=y ARCH=x86_64 | MAKE_ARGS= clang=y ARCH=x86_64 | ||||
CONFIGURE_ARGS+= --with-system-seabios=${LOCALBASE}/share/seabios/bios.bin \ | CONFIGURE_ARGS+= --with-system-seabios=${LOCALBASE}/share/seabios/bios.bin \ | ||||
--mandir=${MANPREFIX}/man | --mandir=${MANPREFIX}/man | ||||
SHEBANG_FILES= tools/misc/xencov_split \ | SHEBANG_FILES= tools/misc/xencov_split \ | ||||
tools/python/scripts/convert-legacy-stream \ | tools/python/scripts/convert-legacy-stream \ | ||||
tools/python/scripts/verify-stream-v2 \ | tools/python/scripts/verify-stream-v2 \ | ||||
tools/xenmon/xenmon.py | tools/xenmon/xenmon.py | ||||
ALL_TARGET= tools | ALL_TARGET= tools | ||||
DOCS_ALL_TARGET= docs | DOCS_ALL_TARGET= docs | ||||
INSTALL_TARGET= install-tools | INSTALL_TARGET= install-tools | ||||
DOCS_INSTALL_TARGET= install-docs | DOCS_INSTALL_TARGET= install-docs | ||||
EXTRA_PATCHES+= ${PATCHDIR}/0001-tools-include-propagate-python-interpreter-path.patch:-p1 | |||||
# LLD 8 changed the behaviour re the placement of orphaned sections, which | |||||
# produces a non-bootable Xen kernel: | |||||
# | |||||
# https://bugs.llvm.org/show_bug.cgi?id=42327 | |||||
# | |||||
# Backport the fixes from upstream | |||||
EXTRA_PATCHES+= ${PATCHDIR}/0001-x86-linker-add-a-reloc-section-to-ELF-linker-script.patch:-p1 \ | |||||
${PATCHDIR}/0003-xen-link-handle-.init.rodata.cst-sections-in-the-lin.patch:-p1 \ | |||||
${PATCHDIR}/0004-x86-check-for-multiboot-1-2-header-presence.patch:-p1 | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${OPSYS} != FreeBSD | .if ${OPSYS} != FreeBSD | ||||
IGNORE= only supported on FreeBSD | IGNORE= only supported on FreeBSD | ||||
.endif | .endif | ||||
.if ${OSVERSION} < 1200074 | .if ${OSVERSION} < 1200074 | ||||
Show All 26 Lines |
You should use USES=iconv (See Mk/Uses/iconv.mk for the arguments)