[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2022-10-07 Thread Ionen Wolkens
commit: 56cd6f31e4ab05adf26a409b65e2c66b5d53961f
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Oct  8 03:07:19 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Oct  8 03:35:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56cd6f31

dev-libs/9libs: EAPI7->8, prefix fixes, depend on xorg-proto

Also drop tc-export, may have been needed in the past
before eautoreconf was used.

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/9libs/9libs-1.0-r4.ebuild | 43 +++---
 1 file changed, 21 insertions(+), 22 deletions(-)

diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild 
b/dev-libs/9libs/9libs-1.0-r4.ebuild
index bb14ac5ccbf2..192bc75d9c20 100644
--- a/dev-libs/9libs/9libs-1.0-r4.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r4.ebuild
@@ -1,44 +1,43 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-inherit autotools toolchain-funcs
+EAPI=8
 
-DESCRIPTION="A package of Plan 9 compatibility libraries"
-HOMEPAGE="https://www.netlib.org/research/9libs/9libs-1.0.README";
-SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2";
+inherit autotools
+
+DESCRIPTION="Plan 9 compatibility libraries"
+HOMEPAGE="https://netlib.org/research/9libs/9libs-1.0.README";
+SRC_URI="https://netlib.org/research/9libs/${P}.tar.bz2";
 
 LICENSE="PLAN9"
 SLOT="0"
 KEYWORDS="amd64 ~riscv x86"
 
-DEPEND="
-   >=x11-libs/libX11-1.0.0
-   >=x11-libs/libXt-1.0.0
-"
 RDEPEND="
+   x11-libs/libX11
+   x11-libs/libXt"
+DEPEND="
${DEPEND}
-"
-DOCS=(
-   README
-)
+   x11-base/xorg-proto"
+
 PATCHES=(
"${FILESDIR}"/${PN}-va_list.patch # Bug 385387
 )
 
 src_prepare() {
default
+
eautoreconf
 }
 
 src_configure() {
-   tc-export CC
-
-   econf \
-   --enable-shared \
-   --disable-static \
-   --includedir=/usr/include/9libs \
+   local econfargs=(
+   --enable-shared
+   --includedir="${EPREFIX}"/usr/include/9libs
--with-x
+   )
+
+   econf "${econfargs[@]}"
 }
 
 src_install() {
@@ -47,8 +46,8 @@ src_install() {
# rename some man pages to avoid collisions with dev-libs/libevent
local f
for f in add balloc bitblt cachechars event frame graphics rgbpix; do
-   mv "${D}"/usr/share/man/man3/${f}.{3,3g} || die
+   mv "${ED}"/usr/share/man/man3/${f}.{3,3g} || die
done
 
-   find "${ED}" -name '*.la' -delete || die
+   find "${ED}" -type f -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2022-10-07 Thread Ionen Wolkens
commit: 97cfd9223e1e1f70f44ea6f4c3ac5929556a4788
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Oct  8 03:13:28 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Oct  8 03:35:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cfd922

dev-libs/9libs: restrict tests

Tried to add virtx but the test is interactive and results in
hanging forever (could be made to work with some modifications
or e.g. xdotool, but not going to visit this myself).

Closes: https://bugs.gentoo.org/403539
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/9libs/9libs-1.0-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild 
b/dev-libs/9libs/9libs-1.0-r4.ebuild
index 192bc75d9c20..0feaa9888258 100644
--- a/dev-libs/9libs/9libs-1.0-r4.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r4.ebuild
@@ -12,6 +12,7 @@ SRC_URI="https://netlib.org/research/9libs/${P}.tar.bz2";
 LICENSE="PLAN9"
 SLOT="0"
 KEYWORDS="amd64 ~riscv x86"
+RESTRICT="test" # interactive, hangs with virtx and fails without (bug #403539)
 
 RDEPEND="
x11-libs/libX11



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/files/, dev-libs/9libs/

2022-10-07 Thread Ionen Wolkens
commit: d88dbbec34a49c24ebec86911849acaff963c0cb
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Oct  8 03:32:06 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Oct  8 03:35:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d88dbbec

dev-libs/9libs: fix build with upcoming clang16

Closes: https://bugs.gentoo.org/871183
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/9libs/9libs-1.0-r5.ebuild   | 1 +
 dev-libs/9libs/files/9libs-1.0-clang16.patch | 8 
 2 files changed, 9 insertions(+)

diff --git a/dev-libs/9libs/9libs-1.0-r5.ebuild 
b/dev-libs/9libs/9libs-1.0-r5.ebuild
index bb9f3d6f49c7..21a9175d21dd 100644
--- a/dev-libs/9libs/9libs-1.0-r5.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r5.ebuild
@@ -23,6 +23,7 @@ DEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-va_list.patch # Bug 385387
+   "${FILESDIR}"/${P}-clang16.patch
 )
 
 src_prepare() {

diff --git a/dev-libs/9libs/files/9libs-1.0-clang16.patch 
b/dev-libs/9libs/files/9libs-1.0-clang16.patch
new file mode 100644
index ..237cfc0c70c9
--- /dev/null
+++ b/dev-libs/9libs/files/9libs-1.0-clang16.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/871183
+--- a/libXg/gcs.c
 b/libXg/gcs.c
+@@ -163,3 +163,3 @@
+   static GC gc0, gcn;
+-  static clipset = 0;
++  static int clipset = 0;
+   GC g;



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2022-10-07 Thread Ionen Wolkens
commit: 4863f4c6151a1687ef364b2a637abaeb033c65b1
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Oct  8 03:28:00 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Oct  8 03:35:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4863f4c6

dev-libs/9libs: pass -fno-strict-aliasing

May be an easy fix but haven't looked closely, just passing
as a better than nothing solution.

Closes: https://bugs.gentoo.org/855665
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/9libs/{9libs-1.0-r4.ebuild => 9libs-1.0-r5.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild 
b/dev-libs/9libs/9libs-1.0-r5.ebuild
similarity index 93%
rename from dev-libs/9libs/9libs-1.0-r4.ebuild
rename to dev-libs/9libs/9libs-1.0-r5.ebuild
index 0feaa9888258..bb9f3d6f49c7 100644
--- a/dev-libs/9libs/9libs-1.0-r4.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Plan 9 compatibility libraries"
 HOMEPAGE="https://netlib.org/research/9libs/9libs-1.0.README";
@@ -32,6 +32,8 @@ src_prepare() {
 }
 
 src_configure() {
+   append-flags -fno-strict-aliasing #855665
+
local econfargs=(
--enable-shared
--includedir="${EPREFIX}"/usr/include/9libs



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2021-10-29 Thread Yixun Lan
commit: ce2ccd3feccbc984acff7f8c00a5fa91e171d7c7
Author: Yongxiang Liang  gmail  com>
AuthorDate: Wed Oct 27 19:35:31 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Oct 29 13:30:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce2ccd3f

dev-libs/9libs: keyword ~riscv

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/9libs/9libs-1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild 
b/dev-libs/9libs/9libs-1.0-r4.ebuild
index b8a794c0c29..bb14ac5ccbf 100644
--- a/dev-libs/9libs/9libs-1.0-r4.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r4.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2";
 
 LICENSE="PLAN9"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~riscv x86"
 
 DEPEND="
>=x11-libs/libX11-1.0.0



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2021-01-08 Thread Matt Turner
commit: 9632a58f3b2dc17aaad34657ffcdc62e34f7f6f8
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Jan  9 03:42:30 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Jan  9 03:59:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9632a58f

dev-libs/9libs: Drop IUSE=static-libs

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/9libs/9libs-1.0-r4.ebuild | 13 +
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild 
b/dev-libs/9libs/9libs-1.0-r4.ebuild
index cc510097ffa..b8a794c0c29 100644
--- a/dev-libs/9libs/9libs-1.0-r4.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,11 +11,10 @@ SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2";
 LICENSE="PLAN9"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="static-libs"
 
 DEPEND="
-   >=x11-libs/libX11-1.0.0[static-libs?]
-   >=x11-libs/libXt-1.0.0[static-libs?]
+   >=x11-libs/libX11-1.0.0
+   >=x11-libs/libXt-1.0.0
 "
 RDEPEND="
${DEPEND}
@@ -36,8 +35,8 @@ src_configure() {
tc-export CC
 
econf \
-   $(use_enable static-libs static) \
--enable-shared \
+   --disable-static \
--includedir=/usr/include/9libs \
--with-x
 }
@@ -51,7 +50,5 @@ src_install() {
mv "${D}"/usr/share/man/man3/${f}.{3,3g} || die
done
 
-   if ! use static-libs; then
-   find "${ED}" -name '*.la' -delete || die
-   fi
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2020-01-03 Thread Andreas Sturmlechner
commit: a82c1d74fab751a318cd0efce9c90a6036935125
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Jan  3 18:44:52 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Jan  3 18:53:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a82c1d74

dev-libs/9libs: Drop 1.0-r3

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/9libs/9libs-1.0-r3.ebuild | 43 --
 1 file changed, 43 deletions(-)

diff --git a/dev-libs/9libs/9libs-1.0-r3.ebuild 
b/dev-libs/9libs/9libs-1.0-r3.ebuild
deleted file mode 100644
index 22450aa79db..000
--- a/dev-libs/9libs/9libs-1.0-r3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="A package of Plan 9 compatibility libraries"
-HOMEPAGE="https://www.netlib.org/research/9libs/9libs-1.0.README";
-SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2";
-
-LICENSE="PLAN9"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="
-   >=x11-libs/libX11-1.0.0
-   >=x11-libs/libXt-1.0.0"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   # Bug 385387
-   epatch "${FILESDIR}/${PN}-va_list.patch"
-}
-
-src_configure() {
-   tc-export CC
-   econf \
-   --includedir=/usr/include/9libs \
-   --enable-shared
-}
-
-src_install() {
-   make install DESTDIR="${D}"
-   dodoc README
-
-   # rename some man pages to avoid collisions with dev-libs/libevent
-   local f
-   for f in add balloc bitblt cachechars event frame graphics rgbpix; do
-   mv "${D}"/usr/share/man/man3/${f}.{3,3g} || die
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2020-01-03 Thread Agostino Sarubbo
commit: a519cf83a21752d393c5606d72a59bb6a8a40dad
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jan  3 14:30:42 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jan  3 14:30:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a519cf83

dev-libs/9libs: x86 stable wrt bug #704436

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/9libs/9libs-1.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild 
b/dev-libs/9libs/9libs-1.0-r4.ebuild
index af113db3e1c..cc510097ffa 100644
--- a/dev-libs/9libs/9libs-1.0-r4.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r4.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2";
 
 LICENSE="PLAN9"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2020-01-01 Thread Agostino Sarubbo
commit: 2a5cbfaeceea421f8b3a72ab658e51397e5538bd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jan  1 15:30:45 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jan  1 15:30:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a5cbfae

dev-libs/9libs: amd64 stable wrt bug #704436

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/9libs/9libs-1.0-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild 
b/dev-libs/9libs/9libs-1.0-r4.ebuild
index 8e9ba36eccd..af113db3e1c 100644
--- a/dev-libs/9libs/9libs-1.0-r4.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2";
 
 LICENSE="PLAN9"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2019-01-27 Thread Jeroen Roovers
commit: 939627361e909ecc361fd15151b52dcfcdeb5ab7
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan 27 11:23:48 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jan 27 11:25:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93962736

dev-libs/9libs: Revert addition of USE=X

libXg is built regardless of whether --with-x is passed.

Bug: https://bugs.gentoo.org/675418
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/9libs/9libs-1.0-r4.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild 
b/dev-libs/9libs/9libs-1.0-r4.ebuild
index 84c7b9323a1..8e9ba36eccd 100644
--- a/dev-libs/9libs/9libs-1.0-r4.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r4.ebuild
@@ -11,13 +11,11 @@ SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2";
 LICENSE="PLAN9"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="static-libs X"
+IUSE="static-libs"
 
 DEPEND="
-   X? (
-   >=x11-libs/libX11-1.0.0[static-libs?]
-   >=x11-libs/libXt-1.0.0[static-libs?]
-   )
+   >=x11-libs/libX11-1.0.0[static-libs?]
+   >=x11-libs/libXt-1.0.0[static-libs?]
 "
 RDEPEND="
${DEPEND}
@@ -39,9 +37,9 @@ src_configure() {
 
econf \
$(use_enable static-libs static) \
-   $(use_with X x) \
--enable-shared \
-   --includedir=/usr/include/9libs
+   --includedir=/usr/include/9libs \
+   --with-x
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2019-01-13 Thread Jeroen Roovers
commit: 83dc7d2d17eb9388d3e427eddbb72df29e9c159c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan 13 22:48:38 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jan 14 00:04:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83dc7d2d

dev-libs/9libs: Set CC in src_configure not src_compile

Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/9libs/9libs-1.0-r3.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-libs/9libs/9libs-1.0-r3.ebuild 
b/dev-libs/9libs/9libs-1.0-r3.ebuild
index 73ca0aa074d..22450aa79db 100644
--- a/dev-libs/9libs/9libs-1.0-r3.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r3.ebuild
@@ -25,15 +25,12 @@ src_prepare() {
 }
 
 src_configure() {
+   tc-export CC
econf \
--includedir=/usr/include/9libs \
--enable-shared
 }
 
-src_compile() {
-   emake CC="$(tc-getCC)"
-}
-
 src_install() {
make install DESTDIR="${D}"
dodoc README



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2019-01-13 Thread Jeroen Roovers
commit: 50509dd21d74690f368892b196c1af6c6187f123
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan 13 23:19:18 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jan 14 00:04:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50509dd2

dev-libs/9libs: Add USE=X,static-libs

Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/9libs/9libs-1.0-r4.ebuild | 59 ++
 1 file changed, 59 insertions(+)

diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild 
b/dev-libs/9libs/9libs-1.0-r4.ebuild
new file mode 100644
index 000..84c7b9323a1
--- /dev/null
+++ b/dev-libs/9libs/9libs-1.0-r4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools toolchain-funcs
+
+DESCRIPTION="A package of Plan 9 compatibility libraries"
+HOMEPAGE="https://www.netlib.org/research/9libs/9libs-1.0.README";
+SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2";
+
+LICENSE="PLAN9"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs X"
+
+DEPEND="
+   X? (
+   >=x11-libs/libX11-1.0.0[static-libs?]
+   >=x11-libs/libXt-1.0.0[static-libs?]
+   )
+"
+RDEPEND="
+   ${DEPEND}
+"
+DOCS=(
+   README
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-va_list.patch # Bug 385387
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   tc-export CC
+
+   econf \
+   $(use_enable static-libs static) \
+   $(use_with X x) \
+   --enable-shared \
+   --includedir=/usr/include/9libs
+}
+
+src_install() {
+   default
+
+   # rename some man pages to avoid collisions with dev-libs/libevent
+   local f
+   for f in add balloc bitblt cachechars event frame graphics rgbpix; do
+   mv "${D}"/usr/share/man/man3/${f}.{3,3g} || die
+   done
+
+   if ! use static-libs; then
+   find "${ED}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2019-01-13 Thread Jeroen Roovers
commit: e110344ca67316eaa8e644de0f9902bc4eb2e821
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan 13 22:43:09 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jan 14 00:04:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e110344c

dev-libs/9libs: Fix HOMEPAGE, SRC_URI

Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/9libs/9libs-1.0-r3.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/9libs/9libs-1.0-r3.ebuild 
b/dev-libs/9libs/9libs-1.0-r3.ebuild
index 608cb956d74..73ca0aa074d 100644
--- a/dev-libs/9libs/9libs-1.0-r3.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
@@ -6,8 +6,8 @@ EAPI=4
 inherit eutils toolchain-funcs
 
 DESCRIPTION="A package of Plan 9 compatibility libraries"
-HOMEPAGE="http://www.netlib.org/research/9libs/9libs-1.0.README";
-SRC_URI="ftp://www.netlib.org/research/9libs/${P}.tar.bz2";
+HOMEPAGE="https://www.netlib.org/research/9libs/9libs-1.0.README";
+SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2";
 
 LICENSE="PLAN9"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/

2018-04-27 Thread Matt Turner
commit: 288cd8417b144ab6c9fe7cfa6d2b73c726574787
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Apr 28 01:03:19 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Apr 28 01:03:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=288cd841

dev-libs/9libs: Drop unnecessary x11-proto dep

 dev-libs/9libs/{9libs-1.0-r2.ebuild => 9libs-1.0-r3.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-libs/9libs/9libs-1.0-r2.ebuild 
b/dev-libs/9libs/9libs-1.0-r3.ebuild
similarity index 96%
rename from dev-libs/9libs/9libs-1.0-r2.ebuild
rename to dev-libs/9libs/9libs-1.0-r3.ebuild
index 5c765f67e8b..608cb956d74 100644
--- a/dev-libs/9libs/9libs-1.0-r2.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r3.ebuild
@@ -14,10 +14,9 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-DEPEND=">=x11-proto/xproto-7.0.4
+DEPEND="
>=x11-libs/libX11-1.0.0
>=x11-libs/libXt-1.0.0"
-
 RDEPEND="${DEPEND}"
 
 src_prepare() {