From ea4d6cabf23dedc16be9b960d50f963edc4751a4 Mon Sep 17 00:00:00 2001
From: Patrick McDermott <patrick.mcdermott@libiquity.com>
Date: Sun, 23 Jun 2019 17:14:40 -0400
Subject: libreadline.6: Use oh-shlibdeps

---
diff --git a/build b/build
index f287ee5..bedca18 100755
--- a/build
+++ b/build
@@ -30,3 +30,4 @@ install: build
 	oh-fixperms
 	oh-strip -k
 	oh-installfiles
+	oh-shlibdeps
diff --git a/changelog b/changelog
index 3526da8..21a18a5 100644
--- a/changelog
+++ b/changelog
@@ -4,6 +4,7 @@ readline (8.0-1) trunk
   * Update Maintainer and Homepage.
   * libreadline.6: Remove upstream CHANGES and README from
     /usr/share/doc/libreadline.6/.
+  * libreadline.6: Use automatic shared library dependencies.
   * libreadline-dev: Remove static libraries.
 
  -- Patrick McDermott <patrick.mcdermott@libiquity.com>  Sun, 23 Jun 2019 16:48:51 -0400
diff --git a/control b/control
index 483abfa..d393438 100644
--- a/control
+++ b/control
@@ -1,3 +1,3 @@
 Maintainer: Patrick McDermott <patrick.mcdermott@libiquity.com>
-Build-Depends: opkhelper-3.0, gpg, dirmngr
+Build-Depends: opkbuild (>= 4.0.1), opkhelper-3.0 (>= 3.1.2), gpg, dirmngr
 Homepage: http://tiswww.cwru.edu/php/chet/readline/rltop.html
diff --git a/libreadline.6.pkg/control b/libreadline.6.pkg/control
index 84e0842..d83c480 100644
--- a/libreadline.6.pkg/control
+++ b/libreadline.6.pkg/control
@@ -1,5 +1,5 @@
 Architecture: any
 Platform: all
-Depends: libtinfo.5
+Depends: ${Shlib-Depends}
 Description: Line editing and command history libraries
  ${Common-Description}
--
cgit v0.9.1