diff options
Diffstat (limited to 'sci-astronomy/stiff')
-rw-r--r-- | sci-astronomy/stiff/Manifest | 3 | ||||
-rw-r--r-- | sci-astronomy/stiff/files/stiff-2.4.0-autotools.patch | 10 | ||||
-rw-r--r-- | sci-astronomy/stiff/stiff-2.4.0.ebuild | 26 |
3 files changed, 25 insertions, 14 deletions
diff --git a/sci-astronomy/stiff/Manifest b/sci-astronomy/stiff/Manifest index 4fa664e2fba3..5dcb6629bf75 100644 --- a/sci-astronomy/stiff/Manifest +++ b/sci-astronomy/stiff/Manifest @@ -1,3 +1,4 @@ +AUX stiff-2.4.0-autotools.patch 154 BLAKE2B 9eeccdea7de24883a90a564474c9bb981d9788fcacfdc94aa85fe705b46b37bf1916001605fc823e238c5936379dd6c2d04ae82da595295aa21719432be5e951 SHA512 63e790c8f1b1193cef94312b122cb28aa9552da95919adad180cf7e95ba7fe98560a5e91b9798e73453152ae008548ed3eab9f15cca1d4cef3b1536bb6cc4ea7 DIST stiff-2.4.0.tar.gz 1074161 BLAKE2B 50a865985184b1b5cbd78024ed3ee72fa6d19431dbe99336d1ad671eaf076a5aa94471a11d447e3981881c789c00167b89c3fa92262f48f03f8a4251fa8cce3f SHA512 c8a293a2d1771b21d8af1194f9a2f582eca1a363964e76b78319c9cc2407332ef5e31dc74c0d10b9d5c7b6ae18ebd35ee59c53ad31c5f3966fabcd03948cadf6 -EBUILD stiff-2.4.0.ebuild 865 BLAKE2B a4627caf440e512b1e455b66e1697b8a39f55d0aba9add1b13e34bc47934c688ea71fe9a5d59598182f2aecbcf871c6336d501898663f54ccd104a15add8b900 SHA512 784820696e586935fd74270b8d7b77ae5f8a6aa708fce9d1cfc6ea675a754380d8cfdde266925daab1ce6f830f1bb25aae8d45f2cdde30000fc3df0ea10c621c +EBUILD stiff-2.4.0.ebuild 833 BLAKE2B 49891582f644022308d34ebe5ef4805c6dde2fa75930ffdfee096d29bb9519326ca167c7bebc8cb8289286fc041cf2b411ab8e5967d278d2c8fdde94ea7eb693 SHA512 affd2e66eb74082767d94745386edf1025a67f30e96e2b852ed8f3f2118b5d0c4ab93a4afad9c1d8e453a53fadf740e9902cf011512011eae0b14aca7eee4c3f MISC metadata.xml 465 BLAKE2B 09afaab47c9bffec55573bbbeecadce07f4e25f0e7010c261815479670e2484731420d9a6e6bce4463a4dc4e2ec73b1d36439b974537ce1aa75053b83638a0dd SHA512 651824579acd42807a5033d63b3803af2fa0d97f7742df3bf44d657bced9eeab5e89dcff1182cd3257c9815a1b44167df5326977f52b21a25b6e8cd6e1c4eafc diff --git a/sci-astronomy/stiff/files/stiff-2.4.0-autotools.patch b/sci-astronomy/stiff/files/stiff-2.4.0-autotools.patch new file mode 100644 index 000000000000..0a3bb4de9ee6 --- /dev/null +++ b/sci-astronomy/stiff/files/stiff-2.4.0-autotools.patch @@ -0,0 +1,10 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -82,6 +82,7 @@ + fi + AC_PROG_INSTALL + AC_PROG_RANLIB ++AM_PROG_AR + + # Checks for libraries. + AC_CHECK_LIB(m, sin) diff --git a/sci-astronomy/stiff/stiff-2.4.0.ebuild b/sci-astronomy/stiff/stiff-2.4.0.ebuild index 85bdc78a39f9..02e91240249e 100644 --- a/sci-astronomy/stiff/stiff-2.4.0.ebuild +++ b/sci-astronomy/stiff/stiff-2.4.0.ebuild @@ -3,20 +3,15 @@ EAPI=7 -if [[ ${PV} == "9999" ]] ; then - inherit subversion - ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk" -else - inherit flag-o-matic - SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi +inherit autotools flag-o-matic DESCRIPTION="Converts astronomical FITS images to the TIFF format" HOMEPAGE="http://www.astronomatic.net/software/stiff" +SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc threads" RDEPEND=" @@ -25,16 +20,21 @@ RDEPEND=" sys-libs/zlib:0=" DEPEND="${RDEPEND}" +PATCHES=( + # https://bugs.gentoo.org/725272 + "${FILESDIR}"/${P}-autotools.patch +) + src_prepare() { default - - # bug #708382 - append-cflags -fcommon + eautoreconf } src_configure() { - CONFIG_SHELL="${EPREFIX}/bin/bash" ECONF_SOURCE="${S}" econf \ - $(use_enable threads) + # https://bugs.gentoo.org/708382 + append-cflags -fcommon + + CONFIG_SHELL="${BROOT}"/bin/bash econf $(use_enable threads) } src_install() { |