dev-util/abi-compliance-checker: ignore broken Makefile
authorMichał Górny <mgorny@gentoo.org>
Fri, 16 Oct 2015 20:21:38 +0000 (22:21 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 16 Oct 2015 20:28:51 +0000 (22:28 +0200)
Ignore the Makefile that has been introduced upstream. It only calls
'install' with hardcoded '/usr' prefix, and does that as a default rule.
Therefore, we need to wipe out src_compile() to make sure it doesn't try
to install to the live system.

dev-util/abi-compliance-checker/abi-compliance-checker-9999.ebuild

index 535929462e8be3b0e0c303b649f37872b19f0d42..9c71e65e6d934fb06b0102fd9abd44f7e1e75f0c 100644 (file)
@@ -25,6 +25,10 @@ SRC_URI=
 KEYWORDS=
 #endif
 
+src_compile() {
+       :
+}
+
 src_install() {
        mkdir -p "${D}"/usr || die
        perl Makefile.pl --install --prefix=/usr --destdir="${D}" || die