aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-24 23:01:55 +0800
committerknu <knu@FreeBSD.org>2001-08-24 23:01:55 +0800
commit23bd1956d427c33cf29e5fb6a6c428a4cd6f9163 (patch)
tree41c50c301290f8f3cdb42c44ca98858eabfdfe06 /audio
parentab91eed34a1a983989c316532b57b30b2edfbb5d (diff)
downloadfreebsd-ports-gnome-23bd1956d427c33cf29e5fb6a6c428a4cd6f9163.tar.gz
freebsd-ports-gnome-23bd1956d427c33cf29e5fb6a6c428a4cd6f9163.tar.zst
freebsd-ports-gnome-23bd1956d427c33cf29e5fb6a6c428a4cd6f9163.zip
Use a better way to extract a revision from a file.
This unbreaks `make index' on CURRENT.
Diffstat (limited to 'audio')
-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