summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/fitsverify/fitsverify-4.17.ebuild')
-rw-r--r--sci-misc/fitsverify/fitsverify-4.17.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/sci-misc/fitsverify/fitsverify-4.17.ebuild b/sci-misc/fitsverify/fitsverify-4.17.ebuild
index 5b82bfe0c38e..ccd81201e151 100644
--- a/sci-misc/fitsverify/fitsverify-4.17.ebuild
+++ b/sci-misc/fitsverify/fitsverify-4.17.ebuild
@@ -1,27 +1,28 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
+
inherit toolchain-funcs
DESCRIPTION="FITS file format checker"
HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/ftools/fitsverify/"
SRC_URI="${HOMEPAGE}/${P}.tar.gz"
-LICENSE="public-domain"
+LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
-RDEPEND=">=sci-libs/cfitsio-3:0="
+RDEPEND="sci-libs/cfitsio:0="
DEPEND="${RDEPEND}
virtual/pkgconfig"
S="${WORKDIR}/${PN}"
src_compile() {
- $(tc-getCC) -DSTANDALONE ${CFLAGS} ${LDFLAGS} \
+ $(tc-getCC) ${CPPFLAGS} -DSTANDALONE ${CFLAGS} ${LDFLAGS} \
$($(tc-getPKG_CONFIG) --cflags cfitsio) \
ftverify.c fvrf*.c \
$($(tc-getPKG_CONFIG) --libs cfitsio) -o ${PN} \