media-gfx/gmic: fix phase ordering
authorTim Harder <radhermit@gentoo.org>
Sat, 29 Oct 2016 04:49:26 +0000 (00:49 -0400)
committerTim Harder <radhermit@gentoo.org>
Sat, 29 Oct 2016 04:49:26 +0000 (00:49 -0400)
media-gfx/gmic/gmic-1.7.8.ebuild

index 80601fc7cc7e58b740aa4430ab8ad67df534c3a0..a15978b80a11b59eee64aba61e93b05506b8b9d3 100644 (file)
@@ -43,11 +43,6 @@ DEPEND="${COMMON_DEPEND}
 
 PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
 
-src_prepare() {
-       default
-       gunzip man/${PN}.1.gz || die
-}
-
 pkg_pretend() {
        if use openmp ; then
                tc-has-openmp || die "Please switch to an openmp compatible compiler"
@@ -58,6 +53,11 @@ pkg_pretend() {
        fi
 }
 
+src_prepare() {
+       default
+       gunzip man/${PN}.1.gz || die
+}
+
 src_configure() {
        local mycmakeargs=(
                -DBUILD_LIB=ON