public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xorg-cf-files/
Date: Sat, 28 Jul 2018 00:38:37 +0000 (UTC)	[thread overview]
Message-ID: <1532738306.30e1117f8b6bf64711572d5539fa4f9d61b8a5c9.mattst88@gentoo> (raw)

commit:     30e1117f8b6bf64711572d5539fa4f9d61b8a5c9
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Fri Jul 27 23:32:15 2018 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Jul 28 00:38:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30e1117f

x11-misc/xorg-cf-files: port to EAPI 7

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../xorg-cf-files/xorg-cf-files-1.0.6-r1.ebuild    | 56 ++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6-r1.ebuild b/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6-r1.ebuild
new file mode 100644
index 00000000000..0ea092a0e0b
--- /dev/null
+++ b/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Old Imake-related build files"
+HOMEPAGE="https://www.x.org/wiki/ https://cgit.freedesktop.org/"
+SRC_URI="mirror://xorg/util/${P}.tar.bz2
+	https://dev.gentoo.org/~mattst88/distfiles/${PN}-1.0.6-solaris-prefix.patch.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+BDEPEND="
+	virtual/pkgconfig
+	app-arch/bzip2
+"
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${WORKDIR}"/${PN}-1.0.6-solaris-prefix.patch
+)
+
+src_configure() {
+	local econfargs=(
+		--disable-selective-werror
+	)
+
+	econf "${econfargs[@]}"
+}
+
+src_install() {
+	default
+	echo "#define ManDirectoryRoot ${EPREFIX%/}/usr/share/man" >> \
+		"${ED%/}"/usr/$(get_libdir)/X11/config/host.def || die
+	sed -i -e "s/LibDirName *lib$/LibDirName $(get_libdir)/" \
+		"${ED%/}"/usr/$(get_libdir)/X11/config/Imake.tmpl || die "failed libdir sed"
+	sed -i -e "s|LibDir Concat(ProjectRoot,/lib/X11)|LibDir Concat(ProjectRoot,/$(get_libdir)/X11)|" \
+		"${ED%/}"/usr/$(get_libdir)/X11/config/X11.tmpl || die "failed libdir sed"
+	sed -i -e "s|\(EtcX11Directory \)\(/etc/X11$\)|\1${EPREFIX%/}\2|" \
+		"${ED%/}"/usr/$(get_libdir)/X11/config/X11.tmpl || die "failed etcx11dir sed"
+	sed -i -e "/#  define Solaris64bitSubdir/d" \
+		"${ED%/}"/usr/$(get_libdir)/X11/config/sun.cf || die
+	sed -i -e 's/-DNOSTDHDRS//g' \
+		"${ED%/}"/usr/$(get_libdir)/X11/config/sun.cf || die
+
+	sed -r -i -e "s|LibDirName[[:space:]]+lib.*$|LibDirName $(get_libdir)|" \
+		"${ED%/}"/usr/$(get_libdir)/X11/config/linux.cf || die "failed libdir sed"
+	sed -r -i -e "s|SystemUsrLibDir[[:space:]]+/usr/lib.*$|SystemUsrLibDir /usr/$(get_libdir)|" \
+		"${ED%/}"/usr/$(get_libdir)/X11/config/linux.cf || die "failed libdir sed"
+	sed -r -i -e "s|TkLibDir[[:space:]]+/usr/lib.*$|TkLibDir /usr/$(get_libdir)|" \
+		"${ED%/}"/usr/$(get_libdir)/X11/config/linux.cf || die "failed libdir sed"
+}


             reply	other threads:[~2018-07-28  0:38 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-28  0:38 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-08 17:18 [gentoo-commits] repo/gentoo:master commit in: x11-misc/xorg-cf-files/ Arthur Zamarin
2023-04-08 15:00 Arthur Zamarin
2023-04-08 14:47 Arthur Zamarin
2023-04-08 10:46 Arthur Zamarin
2023-04-08  9:57 Arthur Zamarin
2023-04-08  9:02 Arthur Zamarin
2023-04-08  6:18 Arthur Zamarin
2023-02-22 14:29 Matt Turner
2022-10-18  1:08 Matt Turner
2022-05-26  4:45 WANG Xuerui
2021-11-17 22:55 Georgy Yakovlev
2021-11-17 16:51 Arthur Zamarin
2021-11-17  7:49 Sam James
2021-11-15  8:38 Jakov Smolić
2021-11-15  1:12 Sam James
2021-11-12 20:51 Sam James
2021-11-07 22:10 Jakov Smolić
2021-08-10 16:00 Marek Szuba
2021-08-02  4:10 Matt Turner
2021-05-25  8:25 Yixun Lan
2021-05-25  8:25 Yixun Lan
2021-04-05 22:19 Sam James
2021-01-06 12:05 Fabian Groffen
2020-02-02  0:15 Matt Turner
2019-10-03  5:53 Michał Górny
2019-07-28 19:10 Matt Turner
2019-05-15  1:04 Aaron Bauman
2018-12-31 10:06 Mikle Kolyada
2018-11-29  5:17 Matt Turner
2018-11-29  5:17 Matt Turner
2018-11-27 20:30 Matt Turner
2018-11-17 14:57 Mikle Kolyada
2018-11-10 17:23 Matt Turner
2018-11-04 19:14 Thomas Deutschmann
2018-11-04 14:16 Sergei Trofimovich
2018-11-04  4:35 Matt Turner
2018-11-04  4:35 Matt Turner
2018-11-03 14:43 Mikle Kolyada
2018-07-28  0:38 Matt Turner
2018-07-21 17:20 Mikle Kolyada
2017-03-07  9:14 David Seifert
2017-01-25 12:28 Agostino Sarubbo
2017-01-22 17:20 Agostino Sarubbo
2016-11-17 10:48 Agostino Sarubbo
2016-11-16 10:44 Agostino Sarubbo
2016-09-22 15:55 Tobias Klausmann
2016-09-17 11:14 Pacho Ramos
2016-09-17 10:49 Pacho Ramos
2016-08-06 11:01 Markus Meier
2016-08-03  4:32 Jeroen Roovers
2015-12-22 16:10 Manuel Rüger
2015-09-13 18:48 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1532738306.30e1117f8b6bf64711572d5539fa4f9d61b8a5c9.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox