Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 137851 Details for
Bug 201383
sys-apps/portage-2.1.4_rc7 interprets ${ESVN_CO_DIR}" without the trunk dir at the end
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
codeblocks-9999-r18.ebuild
codeblocks-9999-r18.ebuild (text/plain), 4.00 KB, created by
keenblade
on 2007-12-05 22:36:03 UTC
(
hide
)
Description:
codeblocks-9999-r18.ebuild
Filename:
MIME Type:
Creator:
keenblade
Created:
2007-12-05 22:36:03 UTC
Size:
4.00 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit autotools wxwidgets subversion flag-o-matic eutils >ESVN_CO_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}"/svn-src/${P/-svn}/"${ESVN_REPO_URI##*/}" > >ESVN_REPO_URI="svn://svn.berlios.de/codeblocks/trunk" >#ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/codeblocks/trunk" >ESVN_PROJECT="${P}" > >WX_GTK_VER="2.8" > >DESCRIPTION="free cross-platform C/C++ IDE" >HOMEPAGE="http://www.codeblocks.org/" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" > >IUSE="contrib unicode xrc monolithic static vanilla debug" > >RDEPEND="=x11-libs/wxGTK-${WX_GTK_VER}* >x11-libs/gtk+ >!dev-util/codeblocks >!dev-util/codeblocks-cvs" > >DEPEND="${RDEPEND} >>=sys-devel/autoconf-2.5.0 >>=sys-devel/automake-1.7 >>=sys-devel/libtool-1.4 >app-arch/zip" > >src_unpack() { >subversion_src_unpack > ># use vanilla || \ ># EPATCH_SOURCE="${FILESDIR}/patches" \ ># EPATCH_SUFFIX="patch" \ ># EPATCH_ARCH="all" \ ># epatch >} > >src_compile() { ># C::B is picky on CXXFLAG -fomit-frame-pointer ># (project-wizard crash, instability ...) >filter-flags -fomit-frame-pointer >append-flags -fno-strict-aliasing > >cd ${S} >./bootstrap || die "Died in action: shipped bootstrap ..." >sed -i -e "s:\$(top_srcdir):\${ESVN_CO_DIR}:" ${S}/src/build_tools/autorevision/Makefile.am >REV_FILE_M4=./revision.m4 >CB_REV=0 >#CB_LCD="" >CB_REV=`LC_ALL=C svn info "${ESVN_CO_DIR}" | grep Revision: | cut -d" " -f2`; >CB_LCD=`LC_ALL=C svn info "${ESVN_CO_DIR}" | grep "^Last Changed Date:" | cut -d" " -f4,5`; >echo "m4_define([SVN_REV], ${CB_REV})" > ${S}/$REV_FILE_M4 >echo "m4_define([SVN_REVISION], 1.0svn${CB_REV})" >> ${S}/$REV_FILE_M4 >echo "m4_define([SVN_DATE], ${CB_LCD})" >> ${S}/$REV_FILE_M4 >eautoreconf || die "Died in action: eautoreconf..." >#sh update_revision.sh || die "\"update_revision.sh\" failed..." >einfo "Changing properties ..." && \ >edos2unix ${S}/{bootstrap,src/update} && \ >chmod a+rx ${S}/{bootstrap,src/update} && \ >#edos2unix ${S}/src/setup/mime/codeblocks.{desktop,applications} || die "Died in action: properties ..." > >#./bootstrap || die "Died in action: shipped bootstrap ..." >local myconf="" > > if use contrib; then > myconf="${myconf} --with-contrib-plugins=all" > fi >econf --with-wx-config="${WX_CONFIG}" --enable-dependency-tracking \ >$(use_enable unicode) $(use_enable xrc) \ >$(use_enable monolithic) $(use_enable debug) \ >$(use_enable static) \ >${myconf} || die "Died in action: econf ..." >make clean-zipfiles || die "\"make clean-zipfiles\" failed..." >make || die "Died in action: make ..." >} > >src_install() { >make DESTDIR="${D}" install || die "Died in action: make install ... " > ># Projectwizard needs a all-in-one-directory for wx envvar ># (finding wxWidgets files/headers). Must be a dir with include ># and lib under it, so we create symlinks: >local linkdir=${D}/usr/share/wx >local wxlibdir > >mkdir -p ${linkdir} > >if [ -L ${linkdir}/include ]; then >rm -f ${linkdir}/include >fi >einfo "Creating wxGTK \"include\" symlink in ${linkdir}..." && \ >ln -sf /usr/include/wx-${WX_GTK_VER} ${linkdir}/include && \ >echo " done." || die "Linking wxGTK includes failed" >wxlibdir="/usr/lib/wx/include/gtk2-unicode-release-${WX_GTK_VER}" > >if [ -L ${linkdir}/lib ]; then >rm -f ${linkdir}/lib >fi >einfo "Creating wxGTK \"lib\" symlink in ${linkdir}..." && \ >ln -sf ${wxlibdir} ${linkdir}/lib && \ >echo " done." || die "Linking wxGTK lib failed" >} > >pkg_postinst() { >echo >ewarn "IMPORTANT:" >ewarn "This is an unofficial ebuild for CODE::BLOCKS IDE." >ewarn "If you encounter any problems, do NOT file bugs to gentoo" >ewarn "bugzilla. Instead, post into this ebuild's topic on the" >ewarn "Gentoo Forums in the UNSUPPORTED SOFTWARE section!" >ewarn "link:" >ewarn "http://forums.gentoo.org/viewtopic-t-588089.html" >echo >echo >einfo "PLEASE READ:" >einfo "When using the new ProjectWizard to create a wxWidgets project" >einfo "you will be prompted for the wxWidgets' location." >einfo "This ebuild has set up (symlinks) a conformant directory in:" >einfo "\"/usr/share/wx\"" >einfo "Please select this directory as wxWidgets' location." >echo >echo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201383
: 137851