From 79d2b84986b45b4f7273d80dc051fd5dec3e9558 Mon Sep 17 00:00:00 2001 From: trevor Date: Sun, 15 Oct 2000 14:18:00 +0000 Subject: Use if we have no (found by bento). --- audio/autozen/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'audio/autozen') diff --git a/audio/autozen/Makefile b/audio/autozen/Makefile index b4bdd13..1d64853 100644 --- a/audio/autozen/Makefile +++ b/audio/autozen/Makefile @@ -22,6 +22,13 @@ DOC_FILES= CHANGES COPYING DATA_FILES= deep-relax.seq relax.seq test.seq test2.seq test3.seq post-patch: + @if [ -f /usr/include/sys/soundcard.h ]; then \ + ${PERL} -pi -e "s=linux/soundcard.h=sys/soundcard.h=g" \ + ${WRKSRC}/autozen.c; \ + else \ + ${PERL} -pi -e "s=linux/soundcard.h=machine/soundcard.h=g" \ + ${WRKSRC}/autozen.c; \ + fi @${PERL} -pi -e "s=X11BASE=${X11BASE}=g" ${WRKSRC}/autozen.c do-install: -- cgit v1.1