Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 244975 Details for
Bug 331895
net-im/mu-conference does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixese LDFLAGS issue, adds die statements and a few othe cleanups
mu-conference-0.7.ebuild.patch (text/plain), 1.22 KB, created by
Ross Smith
on 2010-08-27 16:05:28 UTC
(
hide
)
Description:
fixese LDFLAGS issue, adds die statements and a few othe cleanups
Filename:
MIME Type:
Creator:
Ross Smith
Created:
2010-08-27 16:05:28 UTC
Size:
1.22 KB
patch
obsolete
>--- mu-conference-0.7.ebuild.orig 2010-08-27 11:58:56.000000000 -0400 >+++ mu-conference-0.7.ebuild 2010-08-27 11:57:23.000000000 -0400 >@@ -4,6 +4,8 @@ > > inherit eutils > >+EAPI="2" >+ > DESCRIPTION="Multi-User Chat for jabberd" > HOMEPAGE="https://gna.org/projects/mu-conference/" > SRC_URI="http://download.gna.org/mu-conference/${PN}_${PV}.tar.gz" >@@ -22,20 +24,20 @@ > > S="${WORKDIR}/${PN}_${PV}" > >-src_unpack() { >- unpack ${A} >- cd "${S}" >+src_configure() { > > # Fix missing header in src/conference_user.c in order to > # make emerge happy and avoid QA notice. >- sed -i "/conference.h/ i #define _XOPEN_SOURCE" src/conference_user.c >+ sed -i "/conference.h/ i #define _XOPEN_SOURCE" src/conference_user.c || die "sed failed" > > if use mysql; then >- sed -i '/^CFLAGS/ a CFLAGS:=$(CFLAGS) -DHAVE_MYSQL' src/Makefile >+ sed -i '/^CFLAGS/ a CFLAGS:=$(CFLAGS) -DHAVE_MYSQL/' src/Makefile || die "sed failed" > else > # Makefile is broken. Should not always link against mysql >- sed -i 's/`mysql_config --libs`//' src/Makefile >+ sed -i 's/`mysql_config --libs`//' src/Makefile || die "sed failed" > fi >+ #fix QA respect LDFLAGS ISSUE >+ sed -i src/Makefile -e 's/LDFLAGS:=/LDFLAGS:=$(LDFLAGS),/' || die "sed LDFLAGS failed" > } > > src_compile() {
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 331895
:
242103
| 244975