diff options
author | knu <knu@FreeBSD.org> | 2001-08-24 23:01:55 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-08-24 23:01:55 +0800 |
commit | 23bd1956d427c33cf29e5fb6a6c428a4cd6f9163 (patch) | |
tree | 41c50c301290f8f3cdb42c44ca98858eabfdfe06 /audio/aureal-kmod | |
parent | ab91eed34a1a983989c316532b57b30b2edfbb5d (diff) | |
download | freebsd-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/aureal-kmod')
-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 |