diff options
author | trevor <trevor@FreeBSD.org> | 2000-12-31 23:43:46 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-12-31 23:43:46 +0800 |
commit | f2740808abcb22c7f8d8bed8dfa8b8b051c9a527 (patch) | |
tree | 53a9c83caf8d6ce5f283bfff52071c605b98ad56 /audio/opmixer | |
parent | 2c366ae2c5851c4a21efaf00791e6340406417a2 (diff) | |
download | freebsd-ports-gnome-f2740808abcb22c7f8d8bed8dfa8b8b051c9a527.tar.gz freebsd-ports-gnome-f2740808abcb22c7f8d8bed8dfa8b8b051c9a527.tar.zst freebsd-ports-gnome-f2740808abcb22c7f8d8bed8dfa8b8b051c9a527.zip |
Patch ossmixer.hh to #include <machine/soundcard.h> on old systems.
Diffstat (limited to 'audio/opmixer')
-rw-r--r-- | audio/opmixer/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/opmixer/Makefile b/audio/opmixer/Makefile index 9bd213adb619..0c26a207317e 100644 --- a/audio/opmixer/Makefile +++ b/audio/opmixer/Makefile @@ -29,6 +29,11 @@ pre-install: ${ECHO} @dirrm ${DOCDIR} >> ${PLIST} .endif +do-patch: +.if exists(/usr/include/machine/soundcard.h) + ${PERL} -pi -e "s=sys/soundca=machine/soundca=g" ${WRKSRC}/ossmixer.hh +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/opmixer ${WRKSRC}/opmixer-load \ ${PREFIX}/bin |