Package-Manager: Portage-2.3.6, Repoman-2.3.1
-# 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"
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'
}
src_compile() {
- emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" || die "emake failed"
+ emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
}
src_install() {