# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-libvirt # py-libvirt/Makefile # py-libvirt/distinfo # py-libvirt/pkg-descr # py-libvirt/pkg-plist # py-libvirt/files/ # py-libvirt/files/patch-libvirt-utils.h # echo c - py-libvirt mkdir -p py-libvirt > /dev/null 2>&1 echo x - py-libvirt/Makefile sed 's/^X//' >py-libvirt/Makefile << 'b470f4adab1974084d07c59f2eaa2e50' X# Created by: Koop Mast X# $FreeBSD$ X XPORTNAME= libvirt XPORTVERSION= 1.2.0 XCATEGORIES= devel XMASTER_SITES= http://libvirt.org/sources/python/ \ X ftp://libvirt.org/libvirt/python/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= ${PORTNAME}-python-${PORTVERSION} X XMAINTAINER= jgh@FreeBSD.org XCOMMENT= Python interface for libvirt library X XUSE_PYTHON= yes XUSE_PYDISTUTILS=yes XPYDISTUTILS_NOEGGINFO= yes X X#CPPFLAGS+= `${PYTHON_VERSION}-config --cflags` X#LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_VERSION}-config --libs` X#CONFIGURE_ARGS= --with-iconv=${ICONV_PREFIX} \ X# --with-html-dir=${PREFIX}/share/doc \ X# --with-html-subdir=${PORTNAME} \ X# --with-python=${PYTHON_CMD} X X#DOCSDIR= ${PREFIX}/share/doc/py-libxml2 X#EXAMPLESDIR= ${PREFIX}/share/examples/py-libxml2 X X#post-install: X# @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/libxml2mod.so X X.include b470f4adab1974084d07c59f2eaa2e50 echo x - py-libvirt/distinfo sed 's/^X//' >py-libvirt/distinfo << '6d5a59a7c79bb25d72184b04821be4b3' XSHA256 (libvirt-python-1.2.0.tar.gz) = 2fe7e341cb1b35cff130b7a04d0d58f3607094e63cbca689bc16c7b47da0f52b XSIZE (libvirt-python-1.2.0.tar.gz) = 140757 6d5a59a7c79bb25d72184b04821be4b3 echo x - py-libvirt/pkg-descr sed 's/^X//' >py-libvirt/pkg-descr << '50af5a8ff84e4bad15efcfa4b731e486' 50af5a8ff84e4bad15efcfa4b731e486 echo x - py-libvirt/pkg-plist sed 's/^X//' >py-libvirt/pkg-plist << '62bf7c927ce15fca258e85a6bcd6eeb1' 62bf7c927ce15fca258e85a6bcd6eeb1 echo c - py-libvirt/files/ mkdir -p py-libvirt/files/ > /dev/null 2>&1 echo x - py-libvirt/files/patch-libvirt-utils.h sed 's/^X//' >py-libvirt/files/patch-libvirt-utils.h << '4aabe1925b12ffd94d1a211db85e7651' X--- libvirt-utils.h.orig 2013-12-22 12:53:26.000000000 +0100 X+++ libvirt-utils.h 2013-12-22 13:00:31.000000000 +0100 X@@ -54,6 +54,15 @@ X ((size_t) (sizeof (ptrdiff_t) <= sizeof (size_t) ? -1 : -2) / (s) < (n)) X X X+#ifndef __GNUC_PREREQ X+# if defined __GNUC__ && defined __GNUC_MINOR__ X+# define __GNUC_PREREQ(maj, min) \ X+ ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) X+# else X+# define __GNUC_PREREQ(maj, min) 0 X+# endif X+#endif /* __GNUC_PREREQ */ X+ X /* The __attribute__((__warn_unused_result__)) feature X is available in gcc versions 3.4 and newer, X while the typeof feature has been available since 2.7 at least. */ 4aabe1925b12ffd94d1a211db85e7651 exit