summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-31 16:54:18 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-31 16:54:18 (EDT)
commit3695d99def5d2f1f7d551f159329a5823d30b283 (patch)
treeea7a749d38b1b338ef8b95eb1afee4ba6dd078bc
parent3d1d2a0642013c3cf553af25d2c896eb85ee4840 (diff)
file, libmagic.1: Use oh-shlibdeps
-rwxr-xr-xbuild1
-rw-r--r--changelog1
-rw-r--r--control2
-rw-r--r--file.pkg/control2
-rw-r--r--libmagic.1.pkg/control1
5 files changed, 5 insertions, 2 deletions
diff --git a/build b/build
index 6015e93..345b487 100755
--- a/build
+++ b/build
@@ -16,3 +16,4 @@ install: build
oh-fixperms
oh-strip
oh-installfiles
+ oh-shlibdeps
diff --git a/changelog b/changelog
index da5dfec..3e483eb 100644
--- a/changelog
+++ b/changelog
@@ -1,6 +1,7 @@
file (5.37-3) trunk
* New upstream version.
+ * file, libmagic.1: Use automatic shared library dependencies.
-- Patrick McDermott <patrick.mcdermott@libiquity.com> Fri, 31 May 2019 14:19:49 -0400
diff --git a/control b/control
index 0419015..76d906b 100644
--- a/control
+++ b/control
@@ -1,3 +1,3 @@
Maintainer: "P. J. McDermott" <pj@pehjota.net>
-Build-Depends: opkhelper-3.0, libz.1-dev
+Build-Depends: opkbuild (>= 4.0.1), opkhelper-3.0 (>= 3.1.2), libz.1-dev
Homepage: http://www.darwinsys.com/file/
diff --git a/file.pkg/control b/file.pkg/control
index 56de45d..8ff53b0 100644
--- a/file.pkg/control
+++ b/file.pkg/control
@@ -1,5 +1,5 @@
Architecture: any
Platform: all
-Depends: libmagic.1 (= ${Binary-Version}), libz.1
+Depends: libmagic.1 (= ${Binary-Version}), ${Shlib-Depends}
Description: Tool that determines file type using magic numbers
${Tool-Common-Description}
diff --git a/libmagic.1.pkg/control b/libmagic.1.pkg/control
index d881267..8709b90 100644
--- a/libmagic.1.pkg/control
+++ b/libmagic.1.pkg/control
@@ -1,4 +1,5 @@
Architecture: any
Platform: all
+Depends: ${Shlib-Depends}
Description: Library that determines file type
${Library-Common-Description}