Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 208165 Details for
Bug 290424
Porting media-gfx/transfig-3.5.2-r2 from imake to autotools
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
transfig-3.2.5-r2.ebuild.patch
transfig-3.2.5-r2.ebuild.patch (text/plain), 2.36 KB, created by
David Leverton
on 2009-10-25 01:08:04 UTC
(
hide
)
Description:
transfig-3.2.5-r2.ebuild.patch
Filename:
MIME Type:
Creator:
David Leverton
Created:
2009-10-25 01:08:04 UTC
Size:
2.36 KB
patch
obsolete
>--- gentoo/media-gfx/transfig/transfig-3.2.5-r2.ebuild 2009-04-05 11:37:41.000000000 +0100 >+++ local/media-gfx/transfig/transfig-3.2.5-r2.ebuild 2009-10-25 01:05:04.000000000 +0000 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.5-r2.ebuild,v 1.7 2008/12/02 22:58:28 ranger Exp $ > >-inherit toolchain-funcs eutils flag-o-matic >+inherit eutils autotools > > MY_P=${PN}.${PV} > >@@ -17,12 +17,10 @@ > IUSE="" > > RDEPEND="x11-libs/libXpm >- >=media-libs/jpeg-6 > media-libs/libpng > x11-apps/rgb" > DEPEND="${RDEPEND} >- x11-misc/imake >- app-text/rman" >+ dev-util/pkgconfig" > > S=${WORKDIR}/${MY_P} > >@@ -38,48 +36,18 @@ > epatch "${FILESDIR}"/${P}-locale.patch > epatch "${FILESDIR}"/${P}-fig2ps2tex_bashisms.patch > epatch "${WORKDIR}"/${P}-fig2mpdf.patch >-} >- >-sed_Imakefile() { >- # see fig2dev/Imakefile for details >- vars2subs="BINDIR=/usr/bin >- MANDIR=/usr/share/man/man\$\(MANSUFFIX\) >- XFIGLIBDIR=/usr/share/xfig >- USEINLINE=-DUSE_INLINE >- RGB=/usr/share/X11/rgb.txt >- FIG2DEV_LIBDIR=/usr/share/fig2dev" >- >- for variable in ${vars2subs} ; do >- varname=${variable%%=*} >- varval=${variable##*=} >- sed -i "s:^\(XCOMM\)*[[:space:]]*${varname}[[:space:]]*=.*$:${varname} = ${varval}:" "$@" >- done >-} >- >-src_compile() { >- sed_Imakefile fig2dev/Imakefile fig2dev/dev/Imakefile >- >- # without append transfig compiles with warining >- # incompatible implicit declaration of built-in function âstrlenâ >- # but are we really SVR4? -- so use _GNU_SOURCE ? >- #append-flags -DSVR4 >- xmkmf || die "xmkmf failed" >- # XXX: should be `emake` >- make Makefiles || die "make Makefiles failed" > >- emake CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${CFLAGS}" \ >- USRLIBDIR=/usr/$(get_libdir) || die "emake failed" >+ cp "${FILESDIR}"/{configure.ac,Makefile.am} . || die "cp autotools failed" >+ eautoreconf > } > > src_install() { >- # XXX: should be `emake` >- make DESTDIR="${D}" \ >- ${transfig_conf} install install.man || die >+ emake DESTDIR="${D}" install || die "emake install failed" > > insinto /usr/share/fig2dev/ > doins "${FILESDIR}/transfig-ru_RU.CP1251.ps" || die > doins "${FILESDIR}/transfig-ru_RU.KOI8-R.ps" || die > doins "${FILESDIR}/transfig-uk_UA.KOI8-U.ps" || die > #Install docs >- dodoc README CHANGES LATEX.AND.XFIG NOTES >+ dodoc README CHANGES LATEX.AND.XFIG NOTES || die "dodoc failed" > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 290424
:
208163
|
208164
| 208165