diff options
author | 2003-11-13 13:26:32 +0000 | |
---|---|---|
committer | 2003-11-13 13:26:32 +0000 | |
commit | 43df1c5c05a1395d36b4955030ec1fe2b5d99ecb (patch) | |
tree | 9852fe917e788691566787113402a0526c4bcf80 /net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild | |
parent | fix punctuation (diff) | |
download | gentoo-2-43df1c5c05a1395d36b4955030ec1fe2b5d99ecb.tar.gz gentoo-2-43df1c5c05a1395d36b4955030ec1fe2b5d99ecb.tar.bz2 gentoo-2-43df1c5c05a1395d36b4955030ec1fe2b5d99ecb.zip |
fix 1.2.9-r1 to work on architectures other than amd64
Diffstat (limited to 'net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild')
-rw-r--r-- | net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild b/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild index 9c639cafabd6..7c9cbe8a2fd9 100644 --- a/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild +++ b/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild,v 1.4 2003/11/03 21:25:53 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild,v 1.5 2003/11/13 13:26:29 agriffis Exp $ inherit eutils @@ -34,15 +34,22 @@ src_unpack() { } src_compile() { + local CDEBUGFLAGS="${CFLAGS}" + + use amd64 && CDEBUGFLAGS="${CDEBUGFLAGS} -m32 \ + -L/emul/linux/x86/lib \ + -L/emul/linux/x86/usr/lib/gcc-lib/i386-pc-linux-gnu/3.2.3 \ + -L/emul/linux/x86/usr/lib -L/emul/linux/x86/usr/X11R6/lib" + xmkmf -a || die "xmkmf failed" - make CDEBUGFLAGS="$CFLAGS -m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib/gcc-lib/i386-pc-linux-gnu/3.2.3 -L/emul/linux/x86/usr/lib -L/emul/linux/x86/usr/X11R6/lib" World || die "make World failed" + make CDEBUGFLAGS="${CDEBUGFLAGS}" World || die "make World failed" cd Xvnc && ./configure || die "Configure failed." if use tcpd; then - make EXTRA_LIBRARIES="-lwrap -lnss_nis" CDEBUGFLAGS="$CFLAGS" EXTRA_DEFINES="-DUSE_LIBWRAP=1" + make EXTRA_LIBRARIES="-lwrap -lnss_nis" CDEBUGFLAGS="${CDEBUGFLAGS}" EXTRA_DEFINES="-DUSE_LIBWRAP=1" else - make CDEBUGFLAGS="$CFLAGS -m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib/gcc-lib/i386-pc-linux-gnu/3.2.3 -L/emul/linux/x86/usr/lib -L/emul/linux/x86/usr/X11R6/lib" + make CDEBUGFLAGS="${CDEBUGFLAGS}" fi } |