Skip to content

Commit

Permalink
media-gfx/viewer: eapi bump to 6
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
Amynka committed Aug 6, 2017
1 parent ca1e1d4 commit 2d64a57
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -24,14 +24,15 @@ 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'
eautoreconf
}

src_compile() {
emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" || die "emake failed"
emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
}

src_install() {
Expand Down

0 comments on commit 2d64a57

Please sign in to comment.