summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-01-06 23:34:16 +0000
committerCédric Krier <cedk@gentoo.org>2007-01-06 23:34:16 +0000
commit8f14caddac082144939b0b6e416a9ce73a53f9fa (patch)
tree34b5a913d178f544a4a5870d52140d290dbfe7a2 /net-p2p/mute/mute-0.5.ebuild
parentapp-backup/darbackup: Fixed the gentoo ebuild to enforce the use of dar32 || ... (diff)
downloadsunrise-8f14caddac082144939b0b6e416a9ce73a53f9fa.tar.gz
sunrise-8f14caddac082144939b0b6e416a9ce73a53f9fa.tar.bz2
sunrise-8f14caddac082144939b0b6e416a9ce73a53f9fa.zip
net-p2p/mute: Fix compilation for gcc4
svn path=/sunrise/; revision=2607
Diffstat (limited to 'net-p2p/mute/mute-0.5.ebuild')
-rw-r--r--net-p2p/mute/mute-0.5.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-p2p/mute/mute-0.5.ebuild b/net-p2p/mute/mute-0.5.ebuild
index 880c42157..6f46f8927 100644
--- a/net-p2p/mute/mute-0.5.ebuild
+++ b/net-p2p/mute/mute-0.5.ebuild
@@ -16,7 +16,8 @@ SLOT="0"
KEYWORDS="~x86"
IUSE="wxwindows"
-DEPEND="wxwindows? ( >=x11-libs/wxGTK-2.6 )"
+DEPEND="dev-libs/crypto++
+ wxwindows? ( >=x11-libs/wxGTK-2.6 )"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
@@ -52,11 +53,12 @@ src_compile() {
# break the crypto at startup
filter-flags -fomit-frame-pointer
- emake GXX=$(tc-getCXX) || die "emake failed"
+ emake GXX=$(tc-getCXX) CRYPTO_LIB="/usr/lib/libcrypto++.a" || die "emake failed"
if use wxwindows; then
cd "${S}/MUTE/otherApps/fileSharing/userInterface/wxWindows"
- emake GXX="$(tc-getCXX)" WX_CONFIG="${WX_CONFIG}" || die "emake failed"
+ emake GXX="$(tc-getCXX)" WX_CONFIG="${WX_CONFIG}" \
+ CRYPTO_LIB="/usr/lib/libcrypto++.a" || die "emake failed"
fi
}