summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2008-12-27 12:26:15 +0000
committerGeorge Shapovalov <george@gentoo.org>2008-12-27 12:26:15 +0000
commit80ef64c7132caba0c4468e63cba457a459394f86 (patch)
treed35227a074847a212940b86a07f132789324e2db /dev-lang/gpc
parentVersion bump for prefix (diff)
downloadhistorical-80ef64c7132caba0c4468e63cba457a459394f86.tar.gz
historical-80ef64c7132caba0c4468e63cba457a459394f86.tar.bz2
historical-80ef64c7132caba0c4468e63cba457a459394f86.zip
forcing env-update and added elog to ask user to source /etc/profile (#244314)
Package-Manager: portage-2.2_rc18/cvs/Linux 2.6.27-gentoo-r6 x86_64
Diffstat (limited to 'dev-lang/gpc')
-rw-r--r--dev-lang/gpc/ChangeLog6
-rw-r--r--dev-lang/gpc/Manifest4
-rw-r--r--dev-lang/gpc/gpc-20051104.ebuild30
3 files changed, 27 insertions, 13 deletions
diff --git a/dev-lang/gpc/ChangeLog b/dev-lang/gpc/ChangeLog
index 282d3787b91a..9047e5d57f25 100644
--- a/dev-lang/gpc/ChangeLog
+++ b/dev-lang/gpc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/gpc
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gpc/ChangeLog,v 1.21 2008/12/21 02:18:51 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gpc/ChangeLog,v 1.22 2008/12/27 12:26:15 george Exp $
+
+ 27 Dec 2008; George Shapovalov <george@gentoo.org> gpc-20051104.ebuild:
+ forcing env-update and added elog to ask user to source /etc/profile
+ (#244314)
21 Dec 2008; Jeremy Olexa <darkside@gentoo.org> gpc-20051104.ebuild:
(non maintainer commit) add amd64 specific configure flag to allow
diff --git a/dev-lang/gpc/Manifest b/dev-lang/gpc/Manifest
index c660606dc288..25dd0cc36336 100644
--- a/dev-lang/gpc/Manifest
+++ b/dev-lang/gpc/Manifest
@@ -1,5 +1,5 @@
DIST gcc-core-3.4.5.tar.bz2 13397308 RMD160 d0b1f2748929d319b68e80542edfe1251a867c81 SHA1 0a21072e1f5d7cbc50f3b045b1fd45c85be1fad1 SHA256 8a2824b12a1cae8b68de3be0a8fd2da14918462e6afa27c3578ccfc8ab10d0fc
DIST gpc-20051104.tar.bz2 2616173 RMD160 db97fd55f541e57c4637905a5bfce16c373520bf SHA1 36caff070ac4bee076a14bd43a6dc8cd3484725a SHA256 55e5ecce73fcd06f6377c95be3cedc47cd70547ef32d5da18a4c7778bf2becca
-EBUILD gpc-20051104.ebuild 4146 RMD160 d8845dfbb205132c0440d6a895f047ea8f186945 SHA1 7d03e2a02d25a1f2e8015194081e70f9d412e43a SHA256 015d39d849ee95b548677ab8c4ef9bed7a80d80b7d0649f8d5dcb87e508369f7
-MISC ChangeLog 3061 RMD160 18feb35312fe5f1bf9af99e8c620391b544be441 SHA1 c47606ca500742e0e2eef372ffafe70185461ff1 SHA256 983baef26b715b3785436ee2e83ef69e460a581297f1f948149fd7568403f09b
+EBUILD gpc-20051104.ebuild 4401 RMD160 7c7b68e64b15fbf2db61560ef4a1e10715df4f02 SHA1 e938acfdd67ef3c761e5ee52bf415b0508f27bd0 SHA256 8fb709cfc703dc0463a7098b79001d808c604ac41577edd40af6ece0e3017ca7
+MISC ChangeLog 3217 RMD160 51efc9088ba127a26519f853dbbeb3699ea33448 SHA1 34815f8e8a3c9fdca1a6644b0c197c19f52c3f84 SHA256 973f77939415ccf43011f56bc68b59117721cb8a21e169c4e52f6f2f543ed109
MISC metadata.xml 224 RMD160 001a3a6ee7e3ca9e70b53c116f7df0ebe1d3e8a1 SHA1 5244c902037d5a5f27728184eceeaeddc6a7d44e SHA256 27b05468d7c517e62392b84aafae8e26e08a48f017f39ba67f3df769cabb829a
diff --git a/dev-lang/gpc/gpc-20051104.ebuild b/dev-lang/gpc/gpc-20051104.ebuild
index 1c2419da99d0..5bd12882cf8d 100644
--- a/dev-lang/gpc/gpc-20051104.ebuild
+++ b/dev-lang/gpc/gpc-20051104.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gpc/gpc-20051104.ebuild,v 1.5 2008/12/21 02:18:51 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gpc/gpc-20051104.ebuild,v 1.6 2008/12/27 12:26:15 george Exp $
inherit eutils flag-o-matic versionator
@@ -81,7 +81,7 @@ src_compile() {
einfo "Configuring GCC for GPC build..."
# addwrite "/dev/zero"
- ${S}/configure \
+ "${S}"/configure \
--prefix=${PREFIX} \
--libdir="${LIBPATH}" \
--libexecdir="${LIBEXECPATH}" \
@@ -102,11 +102,11 @@ src_compile() {
--with-local-prefix=${PREFIX}/local \
${myconf} || die "configure failed"
- touch ${S}/gcc/c-gperf.h
+ touch "${S}"/gcc/c-gperf.h
einfo "Building GPC..."
# Fix for our libtool-portage.patc
- emake -j1 LIBPATH="${LIBPATH}" bootstrap || die "make failed"
+ MAKEOPTS="${MAKEOPTS} -j1" emake LIBPATH="${LIBPATH}" bootstrap || die "make failed"
}
src_install () {
@@ -120,7 +120,7 @@ src_install () {
einfo "Installing GPC..."
cd ${BUILDDIR}/gcc
- make DESTDIR=${D} \
+ make DESTDIR="${D}" \
pascal.install-with-gcc || die
# gcc insists on installing libs in its own place
@@ -138,15 +138,25 @@ src_install () {
# Install documentation.
dodir /usr/share/doc/${PF}
- mv ${D}${PREFIX}/doc/gpc/* ${D}/usr/share/doc/${PF}
+ mv "${D}${PREFIX}"/doc/gpc/* "${D}"/usr/share/doc/${PF}
prepalldocs
# final cleanups
- rmdir ${D}${PREFIX}/include ${D}/${PREFIX}/share/man/man7
- rm -rf ${D}${PREFIX}/doc
+ rmdir "${D}${PREFIX}"/include "${D}/${PREFIX}"/share/man/man7
+ rm -rf "${D}${PREFIX}"/doc
# create an env.d entry
dodir /etc/env.d
- echo "PATH=${LIBEXECPATH}" > ${D}etc/env.d/56gpc
- echo "ROOTPATH=${LIBEXECPATH}" >> ${D}etc/env.d/56gpc
+ echo "PATH=${LIBEXECPATH}" > "${D}"etc/env.d/56gpc
+ echo "ROOTPATH=${LIBEXECPATH}" >> "${D}"etc/env.d/56gpc
+}
+
+pkg_postinst ()
+{
+ # need to update environment, as we have installed new env.d file
+ env-update
+ einfo
+ elog "the environment has been set to use gpc,"
+ elog "please don't forget to source /etc/profile"
+ einfo
}