diff options
Diffstat (limited to 'audio/aureal-kmod/Makefile')
-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 |