From 1527086d77f41b842d6c6c6b4c73ec9b82113fc7 Mon Sep 17 00:00:00 2001 From: xmj Date: Tue, 11 Nov 2014 14:53:45 +0000 Subject: audio/linux-c6-alsa-plugins-oss: fix sample file - fix @sample file not being found - revert adding @dirs Reported by: bapt Differential Revision: https://reviews.freebsd.org/D1108 Approved by: swills (mentor) --- audio/linux-c6-alsa-plugins-oss/Makefile | 3 ++- audio/linux-c6-alsa-plugins-oss/pkg-plist | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'audio/linux-c6-alsa-plugins-oss') diff --git a/audio/linux-c6-alsa-plugins-oss/Makefile b/audio/linux-c6-alsa-plugins-oss/Makefile index 414285ece31f..410ed1a8e6ff 100644 --- a/audio/linux-c6-alsa-plugins-oss/Makefile +++ b/audio/linux-c6-alsa-plugins-oss/Makefile @@ -3,7 +3,7 @@ PORTNAME= alsa-plugins-oss PORTVERSION= 1.0.21 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio linux PKGNAMEPREFIX= linux-${USE_LINUX}- @@ -30,5 +30,6 @@ CONF_FILE= etc/alsa/pcm/pcm-oss.conf post-patch: @${RM} ${WRKSRC}/${CONF_FILE}.orig + @${MV} ${WRKSRC}/${CONF_FILE} ${WRKSRC}/${CONF_FILE}.sample .include diff --git a/audio/linux-c6-alsa-plugins-oss/pkg-plist b/audio/linux-c6-alsa-plugins-oss/pkg-plist index 687cea64fd95..9591870fca5b 100644 --- a/audio/linux-c6-alsa-plugins-oss/pkg-plist +++ b/audio/linux-c6-alsa-plugins-oss/pkg-plist @@ -1,9 +1,7 @@ -@sample etc/alsa/pcm/pcm-oss.conf +@sample etc/alsa/pcm/pcm-oss.conf.sample usr/lib/alsa-lib/libasound_module_ctl_oss.so usr/lib/alsa-lib/libasound_module_pcm_oss.so usr/share/doc/alsa-plugins-oss-1.0.21/COPYING usr/share/doc/alsa-plugins-oss-1.0.21/COPYING.GPL usr/share/doc/alsa-plugins-oss-1.0.21/README-pcm-oss @unexec if [ -f %D/etc/asound.conf ]; then fgrep -v '/etc/alsa/pcm/pcm-oss.conf' <%D/etc/asound.conf >/tmp/asound.conf.new; mv /tmp/asound.conf.new %D/etc/asound.conf; fi -@dir etc/alsa/pcm -@dir etc/alsa -- cgit