summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-06 11:09:41 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-06 11:09:41 (EDT)
commit58ef76ebb21e37e7bb011a76d327784a93e68507 (patch)
tree1a2c18d81c451dddaa9f3918b13e30009466b0f9
parent3b9eb677188e33ab91df1d2a8215a8ba44f5c043 (diff)
zdump, zic: Use oh-shlibdeps
Also add a comment to build.
-rwxr-xr-xbuild2
-rw-r--r--zdump.pkg/control2
-rw-r--r--zic.pkg/control2
3 files changed, 4 insertions, 2 deletions
diff --git a/build b/build
index 7c4b0be..e413513 100755
--- a/build
+++ b/build
@@ -76,7 +76,9 @@ install: build
mv tzdata-northamerica.data/usr/share/zoneinfo/America/New_York \
tzdata.data/usr/share/zoneinfo/America
ln -sf America/New_York tzdata.data/usr/share/zoneinfo/posixrules
+ # Run oh-fixperms and oh-strip over everything.
set -e; for p $(OPK_PACKAGES); do \
oh-fixperms -d "$${p}.data"; \
oh-strip -d "$${p}.data"; \
done
+ oh-shlibdeps
diff --git a/zdump.pkg/control b/zdump.pkg/control
index 436e29e..8a818bd 100644
--- a/zdump.pkg/control
+++ b/zdump.pkg/control
@@ -1,5 +1,5 @@
Architecture: any
Platform: all
-Depends: tzcode-common (>= ${Source-Version})
+Depends: tzcode-common (>= ${Source-Version}), ${Shlib-Depends}
Description: Time zone dumper
This package provides the zdump time zone dumper.
diff --git a/zic.pkg/control b/zic.pkg/control
index d89b9f1..1c38b71 100644
--- a/zic.pkg/control
+++ b/zic.pkg/control
@@ -1,5 +1,5 @@
Architecture: any
Platform: all
-Depends: tzcode-common (>= ${Source-Version})
+Depends: tzcode-common (>= ${Source-Version}), ${Shlib-Depends}
Description: Time zone compiler
This package provides the zic time zone compiler.