sci-electronics/qucs: Add elog on optional freehdl rdep, #596976
authorMichał Górny <mgorny@gentoo.org>
Tue, 15 Nov 2016 14:45:45 +0000 (15:45 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 15 Nov 2016 16:22:27 +0000 (17:22 +0100)
sci-electronics/qucs/qucs-0.0.18.ebuild

index 790bedb56b19819c884fdc2d36a4d08ec0d28657..1bd51193a65305b3ec9fcfb03cacbc53ef612007 100644 (file)
@@ -34,3 +34,10 @@ src_configure() {
 
        default
 }
+
+pkg_postinst() {
+       if ! has_version 'sci-electronics/freehdl'; then
+               elog "If you would like to be able to run digital simulations, please install:"
+               elog "  sci-electronics/freehdl"
+       fi
+}