Skip to content

Commit 097b9ca

Browse files
committed
lbdb: depend on khard and test if the khard module is built.
See https://github.com/orgs/Homebrew/discussions/2394. Also add a test for abook module presence.
1 parent af1a6b8 commit 097b9ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Formula/l/lbdb.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Lbdb < Formula
2121
end
2222

2323
depends_on "abook"
24+
depends_on "khard"
2425

2526
def install
2627
system "./configure", "--prefix=#{prefix}", "--libdir=#{lib}/lbdb"
@@ -29,5 +30,7 @@ def install
2930

3031
test do
3132
assert_match version.major_minor.to_s, shell_output("#{bin}/lbdbq -v")
33+
assert_predicate lib/"lbdb/m_abook", :exist?, "m_abook module is missing!"
34+
assert_predicate lib/"lbdb/m_khard", :exist?, "m_khard module is missing!"
3235
end
3336
end

0 commit comments

Comments
 (0)