summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2017-08-06 10:28:02 +0200
committerAmy Liffey <amynka@gentoo.org>2017-08-06 10:28:02 +0200
commit2d64a5736616bfa7676857402a8574621c768e52 (patch)
tree58190da5811bc06a9c1df88d62d7f4dd7f3d9511
parentmedia-gfx/gozer: eapi bump to 6 (diff)
downloadgentoo-2d64a5736616bfa7676857402a8574621c768e52.tar.gz
gentoo-2d64a5736616bfa7676857402a8574621c768e52.tar.bz2
gentoo-2d64a5736616bfa7676857402a8574621c768e52.zip
media-gfx/viewer: eapi bump to 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
-rw-r--r--media-gfx/viewer/viewer-0.8.0-r1.ebuild (renamed from media-gfx/viewer/viewer-0.8.0.ebuild)9
1 files changed, 5 insertions, 4 deletions
diff --git a/media-gfx/viewer/viewer-0.8.0.ebuild b/media-gfx/viewer/viewer-0.8.0-r1.ebuild
index d3a6f54c931..a55a58452c8 100644
--- a/media-gfx/viewer/viewer-0.8.0.ebuild
+++ b/media-gfx/viewer/viewer-0.8.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
+EAPI=6
-inherit autotools multilib
+inherit autotools
DESCRIPTION="A stereo pair image viewer (supports ppm's only)"
HOMEPAGE="http://www-users.cs.umn.edu/~wburdick/geowall/viewer.html"
@@ -24,6 +24,7 @@ DEPEND="virtual/opengl
RDEPEND="${DEPEND}"
src_prepare() {
+ default
sed -i configure.in \
-e "s|/usr/X11R6/lib|/usr/$(get_libdir)/X11|g" \
-e 's|/usr/X11R6/include|/usr/include/X11|g'
@@ -31,7 +32,7 @@ src_prepare() {
}
src_compile() {
- emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" || die "emake failed"
+ emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
}
src_install() {