summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-09-21 08:46:58 +0000
committerMike Frysinger <vapier@gentoo.org>2008-09-21 08:46:58 +0000
commit8fea76771dafcb57bfd2039f765ff1cc4ebfeea0 (patch)
treeb4e45b75e224002217e80d1ec49def9ddc8ad7a5 /dev-libs
parentAdd note about adding users to the ssmtp group, #237932 (diff)
downloadgentoo-2-8fea76771dafcb57bfd2039f765ff1cc4ebfeea0.tar.gz
gentoo-2-8fea76771dafcb57bfd2039f765ff1cc4ebfeea0.tar.bz2
gentoo-2-8fea76771dafcb57bfd2039f765ff1cc4ebfeea0.zip
Initial ebuild based on work from Zhang Le for gcc-4.4+.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/polylib/ChangeLog10
-rw-r--r--dev-libs/polylib/Manifest3
-rw-r--r--dev-libs/polylib/files/polylib-9999-headers.patch10
-rw-r--r--dev-libs/polylib/polylib-9999.ebuild28
4 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/polylib/ChangeLog b/dev-libs/polylib/ChangeLog
new file mode 100644
index 000000000000..d1759396753d
--- /dev/null
+++ b/dev-libs/polylib/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/polylib/ChangeLog,v 1.1 2008/09/21 08:46:58 vapier Exp $
+
+*polylib-9999 (21 Sep 2008)
+
+ 21 Sep 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/polylib-9999-headers.patch, +polylib-9999.ebuild:
+ Initial ebuild based on work from Zhang Le for gcc-4.4+.
+
diff --git a/dev-libs/polylib/Manifest b/dev-libs/polylib/Manifest
new file mode 100644
index 000000000000..fc011d19df75
--- /dev/null
+++ b/dev-libs/polylib/Manifest
@@ -0,0 +1,3 @@
+AUX polylib-9999-headers.patch 203 RMD160 10d0652c3880620f7afb49cdbf6aab46407adba0 SHA1 46f739cf3aefc7e59b0795d976ce6141349c9d4d SHA256 4ca86976ec6e0716349e4c2d25f24339570a212755cb06483e847903db98a4a2
+EBUILD polylib-9999.ebuild 616 RMD160 e0efee331d7c038643185628cfdbc6a14618912b SHA1 7bbbe440eaa5a79c582d128a57f4686466dc725d SHA256 1abb92870220786a1d79d6a481438f980fbfc14377b294a1bae5a2b91b64f371
+MISC ChangeLog 299 RMD160 4c1669612bffb978ed025b345b79cd43e37dc12c SHA1 49bd2f7a8667091d35e577fa9840ef6d114293e1 SHA256 45b14d9ff8c21e75af7d8de352ac8185f1a31e5b719e0f7b2f00cd22a71131ee
diff --git a/dev-libs/polylib/files/polylib-9999-headers.patch b/dev-libs/polylib/files/polylib-9999-headers.patch
new file mode 100644
index 000000000000..69b7b271a926
--- /dev/null
+++ b/dev-libs/polylib/files/polylib-9999-headers.patch
@@ -0,0 +1,10 @@
+--- a/applications/ehrhart_union.c
++++ b/applications/ehrhart_union.c
+@@ -1,6 +1,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <unistd.h>
+
+ #include <polylib/polylib.h>
+
diff --git a/dev-libs/polylib/polylib-9999.ebuild b/dev-libs/polylib/polylib-9999.ebuild
new file mode 100644
index 000000000000..48410ac00a66
--- /dev/null
+++ b/dev-libs/polylib/polylib-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/polylib/polylib-9999.ebuild,v 1.1 2008/09/21 08:46:58 vapier Exp $
+
+EGIT_REPO_URI="git://repo.or.cz/polylib.git"
+EGIT_BOOTSTRAP="eautoreconf && cd cln && eautoreconf"
+inherit git autotools eutils
+
+DESCRIPTION="ppl port of cloog"
+HOMEPAGE="http://icps.u-strasbg.fr/polylib/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+src_unpack() {
+ git_src_unpack
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-headers.patch
+ # strip LDFLAGS from pkgconfig .pc file
+ sed -i '/Libs:/s:@LDFLAGS@::' configure
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc doc/Changes
+}