diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-24 15:01:55 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-24 15:01:55 +0000 |
commit | 9995b48de4432330dc3cef55bb14e84a35669fd5 (patch) | |
tree | f95ff8e63f0eeec9e7d4515008e6589761f6430e /audio | |
parent | bb00b9efa2c93e9d94dde946cdbd8015631920e4 (diff) |
Use a better way to extract a revision from a file.
This unbreaks `make index' on CURRENT.
Notes
Notes:
svn path=/head/; revision=46796
Diffstat (limited to 'audio')
-rw-r--r-- | audio/aureal-kmod/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/aureal-kmod/Makefile b/audio/aureal-kmod/Makefile index 351d56a20c22..77bc002c7224 100644 --- a/audio/aureal-kmod/Makefile +++ b/audio/aureal-kmod/Makefile @@ -29,8 +29,8 @@ MAKE_ENV= WRKSRC="${WRKSRC}" .include <bsd.port.pre.mk> .if exists(${SRCPREFIX}/sys/dev/sound/pcm/sound.c) -VERSION_SOUND_C!= ${AWK} '/.*\$$FreeBSD/ { print $$4; exit; }' \ - ${SRCPREFIX}/sys/dev/sound/pcm/sound.c +VERSION_SOUND_C!= ident < ${SRCPREFIX}/sys/dev/sound/pcm/sound.c | \ + ${AWK} '{ print $$3; exit }' .else VERSION_SOUND_C= .endif |