git: ad6d1be95264 - main - audio/zita-alsa-pcmi: Add comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Jul 2022 22:45:28 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ad6d1be95264b25b84ddc05e71ae500f898ea703
commit ad6d1be95264b25b84ddc05e71ae500f898ea703
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-14 22:44:55 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-14 22:45:26 +0000
audio/zita-alsa-pcmi: Add comments
---
audio/zita-alsa-pcmi/Makefile | 5 ++++-
audio/zita-alsa-pcmi/files/patch-source_Makefile | 4 ++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/audio/zita-alsa-pcmi/Makefile b/audio/zita-alsa-pcmi/Makefile
index 9fed0e2a1ccb..762c2a8cf46b 100644
--- a/audio/zita-alsa-pcmi/Makefile
+++ b/audio/zita-alsa-pcmi/Makefile
@@ -39,8 +39,11 @@ do-install:
.endfor
post-install:
+ # add symlink, see comment in the patch
+ @cd ${STAGEDIR}${PREFIX} && \
+ (cd lib && ${RLN} libzita-alsa-pcmi.so.${DISTVERSION} libzita-alsa-pcmi.so.${DISTVERSION:R:R})
+ # strip binaries
@cd ${STAGEDIR}${PREFIX} && \
- (cd lib && ${RLN} libzita-alsa-pcmi.so.${DISTVERSION} libzita-alsa-pcmi.so.${DISTVERSION:R:R}) && \
${STRIP_CMD} \
bin/alsa_delay \
bin/alsa_loopback \
diff --git a/audio/zita-alsa-pcmi/files/patch-source_Makefile b/audio/zita-alsa-pcmi/files/patch-source_Makefile
index e0c49bb73464..62505ec0acd4 100644
--- a/audio/zita-alsa-pcmi/files/patch-source_Makefile
+++ b/audio/zita-alsa-pcmi/files/patch-source_Makefile
@@ -1,3 +1,7 @@
+- patch out ldcondig: the author believes that users mostly install manually
+- and not through packages, and refuses to fix the bug that it fails to install
+- into a stage directory. Do not contact the author about this.
+
--- source/Makefile.orig 2018-08-24 18:41:30 UTC
+++ source/Makefile
@@ -20,7 +20,7 @@