Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 245279 Details for
Bug 335159
net-misc/rdate does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to rdate-1.4-r3.ebuild to address LDFLAGS and do general cleanup
rdate-1.4-r3.ebuild.patch (text/plain), 1.12 KB, created by
Kevin Pyle
on 2010-08-29 22:57:48 UTC
(
hide
)
Description:
Patch to rdate-1.4-r3.ebuild to address LDFLAGS and do general cleanup
Filename:
MIME Type:
Creator:
Kevin Pyle
Created:
2010-08-29 22:57:48 UTC
Size:
1.12 KB
patch
obsolete
>diff -ru a/rdate-1.4-r3.ebuild b/rdate-1.4-r3.ebuild >--- a/rdate-1.4-r3.ebuild 2009-09-23 20:06:50.000000000 +0000 >+++ b/rdate-1.4-r3.ebuild 2010-08-29 22:52:55.455002396 +0000 >@@ -2,7 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/rdate-1.4-r3.ebuild,v 1.13 2009/09/23 19:43:36 patrick Exp $ > >-inherit flag-o-matic >+EAPI="2" >+ >+inherit flag-o-matic toolchain-funcs > > DESCRIPTION="use TCP or UDP to retrieve the current time of another machine" > HOMEPAGE="http://www.apps.ietf.org/rfc/rfc868.html" >@@ -15,13 +17,22 @@ > > DEPEND="" > >+src_prepare() { >+ sed -i \ >+ -e '/^CFLAGS=/d' \ >+ -e '/^rdate: /,+1d' \ >+ -e '/\tinstall/s:\([^ ]\+\)$:$(DESTDIR)&:' \ >+ Makefile >+} >+ > src_compile() { > use ipv6 && append-flags "-DINET6" >- emake RCFLAGS="${CFLAGS}" || die "emake failed" >+ tc-export CC >+ emake || die "emake failed" > } > > src_install(){ >- emake -j1 prefix="${D}/usr" install || die "make install failed" >+ emake DESTDIR="${D}" install || die "make install failed" > newinitd "${FILESDIR}"/rdate-initd-1.4-r3 rdate > newconfd "${FILESDIR}"/rdate-confd rdate > }
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 335159
:
245272
| 245279 |
340780