diff options
author | swills <swills@FreeBSD.org> | 2018-09-03 03:19:12 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2018-09-03 03:19:12 +0800 |
commit | f3c6118a52ba4cd7c64d784b79466c5fd72f16ea (patch) | |
tree | 0039848370cc35db88086533c742bf1a702feab3 /audio | |
parent | 1aa4e671a98e0be503f2c58a9200bf30c954dd96 (diff) | |
download | freebsd-ports-gnome-f3c6118a52ba4cd7c64d784b79466c5fd72f16ea.tar.gz freebsd-ports-gnome-f3c6118a52ba4cd7c64d784b79466c5fd72f16ea.tar.zst freebsd-ports-gnome-f3c6118a52ba4cd7c64d784b79466c5fd72f16ea.zip |
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]
Diffstat (limited to 'audio')
-rw-r--r-- | audio/zita-resampler/Makefile | 1 | ||||
-rw-r--r-- | audio/zita-resampler/files/patch-Makefile | 7 | ||||
-rw-r--r-- | audio/zita-resampler/pkg-plist | 1 |
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 |