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]
This commit is contained in:
Steve Wills 2018-09-02 19:19:12 +00:00
parent 52dfceba41
commit be8082c4cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478813
3 changed files with 7 additions and 2 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= zita-resampler
PORTVERSION= 1.6.2
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/

View file

@ -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:

View file

@ -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