summaryrefslogtreecommitdiff
path: root/audio/aureal-kmod
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-24 15:01:55 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-24 15:01:55 +0000
commit9995b48de4432330dc3cef55bb14e84a35669fd5 (patch)
treef95ff8e63f0eeec9e7d4515008e6589761f6430e /audio/aureal-kmod
parentUpdate to 0.8.16 (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/aureal-kmod')
-rw-r--r--audio/aureal-kmod/Makefile4
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