Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184206 Details for
Bug 123975
new ebuild - dev-lang/xharbour
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Always install ChangeLog
xharbour-1.0.0_beta1.ebuild (text/plain), 2.86 KB, created by
Phil Krylov
on 2009-03-07 10:16:30 UTC
(
hide
)
Description:
Always install ChangeLog
Filename:
MIME Type:
Creator:
Phil Krylov
Created:
2009-03-07 10:16:30 UTC
Size:
2.86 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit base > >MY_P=${P/_/-} >DESCRIPTION="An extended implementation of the Clipper dialect of the xBase language family" >HOMEPAGE="http://www.xharbour.org/" >SRC_URI="mirror://sourceforge/${PN}/${MY_P}.src.tar.gz" > >LICENSE="GPL-2-with-exceptions" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="allegro doc gpm odbc slang threads X" > >RDEPEND=" > sys-libs/ncurses > virtual/libc > allegro? ( media-libs/allegro ) > gpm? ( sys-libs/gpm ) > odbc? ( dev-db/unixODBC ) > slang? ( sys-libs/slang ) > X? ( media-libs/freetype > x11-libs/libX11 > x11-libs/libXext > x11-libs/libXmu > x11-libs/libXpm > x11-libs/libXt )" >DEPEND="${RDEPEND} > sys-devel/bison" > >S=${WORKDIR}/${MY_P} > >PATCHES=( > "${FILESDIR}"/${PN}-as-needed.patch > "${FILESDIR}"/${PN}-fPIC.patch > "${FILESDIR}"/${PN}-mkinstdir.patch > "${FILESDIR}"/${PN}-parallel-make.patch > "${FILESDIR}"/${PN}-skip-static-utils.patch >) > >src_compile() { > # xHarbour uses environment vars to configure the build > export \ > C_USR="${CFLAGS}" \ > L_USR="${LDFLAGS}" \ > HB_GTALLEG=$(useq allegro && echo yes) \ > HB_GPM_MOUSE=$(useq gpm && echo yes) \ > HB_WITHOUT_GTSLN=$(useq slang || echo yes) \ > HB_MT=$(useq threads && echo MT) \ > HB_WITHOUT_X11=$(useq X || echo yes) \ > HB_COMPILER="gcc" \ > HB_ARCHITECTURE="$(uname -s | sed -e 's/-//g;y/BDFHLNOPSUX/bdfhlnopsux/;s/.*bsd/bsd/')" \ > HB_GT_LIB="gtstd" \ > HB_MULTI_GT="yes" \ > HB_COMMERCE="no" > emake || die >} > >src_test() { > emake -C utils/hbtest || die > utils/hbtest/*/*/hbtest > einfo "In general, the package works if 'Total calls passed' figure above" > einfo "is 90% or greater." >} > >src_install() { > # xHarbour uses environment vars to configure the install > export _DEFAULT_BIN_DIR=/usr/bin > export _DEFAULT_INC_DIR=/usr/include/xharbour > export _DEFAULT_LIB_DIR=/usr/lib/xharbour > export HB_BIN_INSTALL="${D}"/usr/bin > export HB_INC_INSTALL="${D}"/usr/include/xharbour > export HB_LIB_INSTALL="${D}"/usr/lib/xharbour > emake install || die > > dodir /etc/harbour > install -m644 source/rtl/gtcrs/hb-charmap.def "${D}"/etc/harbour/hb-charmap.def || die > cat > ${D}/etc/harbour.cfg <<-EOF > CC=$(tc-getCC) > CFLAGS=-c -I${_DEFAULT_INC_DIR} ${CFLAGS} > VERBOSE=YES > DELTMP=YES > EOF > > # build utils with shared libs > L_USR="${L_USR} -L${HB_LIB_INSTALL} -l${PN}" > export PRG_USR="\"-D_DEFAULT_INC_DIR='${_DEFAULT_INC_DIR}'\"" > for utl in hbdict hbmake hbpp hbrun xbscript; do > emake -C utils/${utl} install || die > done > > dosym xbscript /usr/bin/pprun > dosym xbscript /usr/bin/xprompt > > # remove unused files > rm -f "${HB_BIN_INSTALL}"/{hbdict*.hit,gharbour,harbour-link} > > dodoc ChangeLog || die > if ! has nodoc ${FEATURES} && use doc; then > dodoc doc/*.txt || die > strip-linguas en es > for LNG in ${LINGUAS}; do > docinto "${LNG}" > dodoc doc/${LNG}/*.txt || die > done > docinto ct > dodoc doc/en/ct/*.txt || die > fi >}
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 123975
:
80618
|
144346
|
147677
|
183855
|
183876
|
183911
|
183912
|
183914
|
183916
|
183987
|
183988
|
183990
|
183992
|
183993
|
184044
|
184144
| 184206 |
278275
|
279195