diff options
author | 2015-08-14 19:20:44 +0000 | |
---|---|---|
committer | 2015-08-14 19:20:44 +0000 | |
commit | 9bea335ee39f856ccf6d021c00303fb2ef5d0e6c (patch) | |
tree | 03bcb6fe42bdf5a555fdf8546db63d58764b7c04 | |
parent | Updated the live ebuild to match upstream changes (diff) | |
download | bicatali-9bea335ee39f856ccf6d021c00303fb2ef5d0e6c.tar.gz bicatali-9bea335ee39f856ccf6d021c00303fb2ef5d0e6c.tar.bz2 bicatali-9bea335ee39f856ccf6d021c00303fb2ef5d0e6c.zip |
To install test, we need to build them
-rw-r--r-- | net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild | 9 | ||||
-rw-r--r-- | net-fs/cvmfs/cvmfs-9999.ebuild | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild b/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild index 00dc852..2bde18f 100644 --- a/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild +++ b/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild @@ -125,7 +125,6 @@ src_configure() { -DINSTALL_MOUNT_SCRIPTS=ON $(cmake-utils_use server BUILD_SERVER) $(cmake-utils_use test BUILD_UNITTESTS) - $(cmake-utils_use test-programs INSTALL_UNITTESTS) ) if use debug; then mycmakeargs+=( @@ -133,6 +132,14 @@ src_configure() { $(cmake-utils_use test BUILD_UNITTESTS_DEBUG) ) fi + if use test-programs; then + mycmakeargs+=( + -DBUILD_UNITTESTS=ON + -DINSTALL_UNITTESTS=ON + ) + else + mycmakeargs+=( -DINSTALL_UNITTESTS=OFF ) + fi cmake-utils_src_configure } diff --git a/net-fs/cvmfs/cvmfs-9999.ebuild b/net-fs/cvmfs/cvmfs-9999.ebuild index 1f8aab8..bcf9821 100644 --- a/net-fs/cvmfs/cvmfs-9999.ebuild +++ b/net-fs/cvmfs/cvmfs-9999.ebuild @@ -115,7 +115,6 @@ src_configure() { $(cmake-utils_use doc BUILD_DOCUMENTATION) $(cmake-utils_use server BUILD_SERVER) $(cmake-utils_use test BUILD_UNITTESTS) - $(cmake-utils_use test-programs INSTALL_UNITTESTS) ) if use debug; then mycmakeargs+=( @@ -123,6 +122,14 @@ src_configure() { $(cmake-utils_use test BUILD_UNITTESTS_DEBUG) ) fi + if use test-programs; then + mycmakeargs+=( + -DBUILD_UNITTESTS=ON + -DINSTALL_UNITTESTS=ON + ) + else + mycmakeargs+=( -DINSTALL_UNITTESTS=OFF ) + fi cmake-utils_src_configure } |