summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-10-06 16:25:53 +0000
committerJustin Lecher <jlec@gentoo.org>2012-10-06 16:25:53 +0000
commit0c0b3990097e6245f84bedbbe22c2c26d48b559c (patch)
tree20eb8265380cd7371f545bfc4bbc090c1609de7a /sci-chemistry/viewmol/viewmol-2.4.1-r2.ebuild
parentsci-chemistry/coot: Version Bump, #437304; drop prereleases (diff)
downloadgentoo-2-0c0b3990097e6245f84bedbbe22c2c26d48b559c.tar.gz
gentoo-2-0c0b3990097e6245f84bedbbe22c2c26d48b559c.tar.bz2
gentoo-2-0c0b3990097e6245f84bedbbe22c2c26d48b559c.zip
sci-chemistry/viewmol: Add missing DEP on virtual/glu, #437076
(Portage version: 2.2.0_alpha135/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/viewmol/viewmol-2.4.1-r2.ebuild')
-rw-r--r--sci-chemistry/viewmol/viewmol-2.4.1-r2.ebuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/sci-chemistry/viewmol/viewmol-2.4.1-r2.ebuild b/sci-chemistry/viewmol/viewmol-2.4.1-r2.ebuild
index 794486b77a82..36fb72826ca6 100644
--- a/sci-chemistry/viewmol/viewmol-2.4.1-r2.ebuild
+++ b/sci-chemistry/viewmol/viewmol-2.4.1-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/viewmol/viewmol-2.4.1-r2.ebuild,v 1.2 2011/06/25 18:12:02 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/viewmol/viewmol-2.4.1-r2.ebuild,v 1.3 2012/10/06 16:25:53 jlec Exp $
EAPI=3
@@ -21,6 +21,7 @@ IUSE=""
RDEPEND="
media-libs/libpng
media-libs/tiff
+ virtual/glu
virtual/opengl
x11-libs/libX11
x11-libs/libXi
@@ -52,20 +53,20 @@ src_prepare() {
mkdir $(uname -s) && cd $(uname -s)
cat >> .config.$(uname -s) <<- EOF
- LIBTIFF = -L${EPREFIX}/usr/$(get_libdir)
- TIFFINCLUDE = ${EPREFIX}/usr/include
- LIBPNG = -L${EPREFIX}/usr/$(get_libdir)
- PNGINCLUDE = ${EPREFIX}/usr/include
+ LIBTIFF = -L"${EPREFIX}/usr/$(get_libdir)"
+ TIFFINCLUDE = "${EPREFIX}/usr/include"
+ LIBPNG = -L"${EPREFIX}/usr/$(get_libdir)"
+ PNGINCLUDE = "${EPREFIX}/usr/include"
PYTHONVERSION = $(PYTHON)
- PYTHONINCLUDE = ${EPREFIX}/$(python_get_includedir)
- PYTHONLIB = ${EPREFIX}/usr/$(get_libdir)
+ PYTHONINCLUDE = "${EPREFIX}/$(python_get_includedir)"
+ PYTHONLIB = "${EPREFIX}/usr/$(get_libdir)"
COMPILER = $(tc-getCC)
CFLAGS = ${CFLAGS} -DLINUX
LDFLAGS = ${LDFLAGS} ${LINKFORSHARED}
SCANDIR=
INCLUDE=\$(TIFFINCLUDE) -I\$(PNGINCLUDE) -I\$(PYTHONINCLUDE)
LIBRARY=\$(LIBTIFF) \$(LIBPNG) -L\$(LIBPYTHON)
- LIBS=-L${EPREFIX}/$(get_libdir) $(python_get_library -l) -ltiff -lpng -lz -lGLU -lGL -L${EPREFIX}/usr/X11R6/lib -lXm -lXmu -lXp -lXi -lXext -lXt -lX11 -lpthread -lutil -ldl -lm
+ LIBS=-L"${EPREFIX}/usr/$(get_libdir)" $(python_get_library -l) -ltiff -lpng -lz -lGLU -lGL -L"${EPREFIX}/usr/X11R6/lib" -lXm -lXmu -lXp -lXi -lXext -lXt -lX11 -lpthread -lutil -ldl -lm
EOF
cp .config.$(uname -s) makefile