diff options
author | xmj <xmj@FreeBSD.org> | 2014-11-11 22:53:45 +0800 |
---|---|---|
committer | xmj <xmj@FreeBSD.org> | 2014-11-11 22:53:45 +0800 |
commit | 1527086d77f41b842d6c6c6b4c73ec9b82113fc7 (patch) | |
tree | 188794f6b8fb5b0e839e92912b25d830cba4020c /audio/linux-c6-alsa-plugins-oss | |
parent | 3dd1532caeb3b0d223fda7338692c5ac698b5c58 (diff) | |
download | freebsd-ports-gnome-1527086d77f41b842d6c6c6b4c73ec9b82113fc7.tar.gz freebsd-ports-gnome-1527086d77f41b842d6c6c6b4c73ec9b82113fc7.tar.zst freebsd-ports-gnome-1527086d77f41b842d6c6c6b4c73ec9b82113fc7.zip |
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)
Diffstat (limited to 'audio/linux-c6-alsa-plugins-oss')
-rw-r--r-- | audio/linux-c6-alsa-plugins-oss/Makefile | 3 | ||||
-rw-r--r-- | audio/linux-c6-alsa-plugins-oss/pkg-plist | 4 |
2 files changed, 3 insertions, 4 deletions
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 <bsd.port.mk> 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 |