aboutsummaryrefslogtreecommitdiffstats
path: root/audio/beep
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-07-10 19:05:23 +0800
committermakc <makc@FreeBSD.org>2010-07-10 19:05:23 +0800
commitbbf85b1fd650f13ec21454946bcf6625a46d8727 (patch)
tree85c4d82dc883d0e36a9305921c7c645eeef020b4 /audio/beep
parent34933858c2b6670477e4fe336de27307f1f28ae9 (diff)
downloadfreebsd-ports-gnome-bbf85b1fd650f13ec21454946bcf6625a46d8727.tar.gz
freebsd-ports-gnome-bbf85b1fd650f13ec21454946bcf6625a46d8727.tar.zst
freebsd-ports-gnome-bbf85b1fd650f13ec21454946bcf6625a46d8727.zip
Use dev/speaker/speaker.h instead of deprecated machine/speaker.h
Allow build on amd64 and pc98 PR: ports/148435 Submitted by: Anonymous <swell.k at gmail.com> Approved by: Michael James Brune (maintainer)
Diffstat (limited to 'audio/beep')
-rw-r--r--audio/beep/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/beep/Makefile b/audio/beep/Makefile
index 8317e3c0fb40..caaaeb27057a 100644
--- a/audio/beep/Makefile
+++ b/audio/beep/Makefile
@@ -17,8 +17,12 @@ MAN1= beep.1
MANCOMPRESSED= maybe
WRKSRC= ${WRKDIR}/${PORTNAME}
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= i386 amd64 pc98
PLIST_FILES= bin/beep
+post-patch:
+ ${REINPLACE_CMD} 's|machine/speaker\.h|dev/speaker/speaker.h|' \
+ ${WRKSRC}/beep.c
+
.include <bsd.port.mk>