summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-09-02 19:19:12 +0000
committerSteve Wills <swills@FreeBSD.org>2018-09-02 19:19:12 +0000
commitbe8082c4cc98aa3135c1e4b06f969564f0d1cd65 (patch)
tree0039848370cc35db88086533c742bf1a702feab3 /audio
parentFix build on i386 (diff)
audio/zita-resampler: use updated patch
This removes the ldconfig and fixes building as a user PR: 231026 [1] PR: 231075 [2] Submitted by: Goran Mekić <meka@tilda.center> (maintainer) [1] Reported by: yuri [1] Reported by: jbeich [2]
Notes
Notes: svn path=/head/; revision=478813
Diffstat (limited to 'audio')
-rw-r--r--audio/zita-resampler/Makefile1
-rw-r--r--audio/zita-resampler/files/patch-Makefile7
-rw-r--r--audio/zita-resampler/pkg-plist1
3 files changed, 7 insertions, 2 deletions
diff --git a/audio/zita-resampler/Makefile b/audio/zita-resampler/Makefile
index 73b04e9b5acb..73db55157b27 100644
--- a/audio/zita-resampler/Makefile
+++ b/audio/zita-resampler/Makefile
@@ -3,6 +3,7 @@
PORTNAME= zita-resampler
PORTVERSION= 1.6.2
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
diff --git a/audio/zita-resampler/files/patch-Makefile b/audio/zita-resampler/files/patch-Makefile
index 372fd49f41c5..d80842d21caf 100644
--- a/audio/zita-resampler/files/patch-Makefile
+++ b/audio/zita-resampler/files/patch-Makefile
@@ -38,14 +38,17 @@
$(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O)
$(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
-@@ -56,8 +56,8 @@ $(ZITA-RESAMPLER_O): $(ZITA-RESAMPLER_H)
+@@ -56,9 +56,10 @@ $(ZITA-RESAMPLER_O): $(ZITA-RESAMPLER_H)
install: $(ZITA-RESAMPLER_MIN)
install -d $(DESTDIR)$(INCDIR)/zita-resampler
install -d $(DESTDIR)$(LIBDIR)
- install -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(INCDIR)/zita-resampler
- install -m 755 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)
+- ldconfig
+ ${BSD_INSTALL_DATA} -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(INCDIR)/zita-resampler
+ ${BSD_INSTALL_LIB} -m 755 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)
- ldconfig
++ # ldconfig
++ ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_MAJ)
ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_SO)
+ uninstall:
diff --git a/audio/zita-resampler/pkg-plist b/audio/zita-resampler/pkg-plist
index 19da81c9071f..9b3138495c0b 100644
--- a/audio/zita-resampler/pkg-plist
+++ b/audio/zita-resampler/pkg-plist
@@ -3,4 +3,5 @@ include/zita-resampler/resampler-table.h
include/zita-resampler/resampler.h
include/zita-resampler/vresampler.h
lib/libzita-resampler.so
+lib/libzita-resampler.so.1
lib/libzita-resampler.so.1.6.2