aboutsummaryrefslogtreecommitdiffstats
path: root/audio/openal
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2006-04-24 03:01:28 +0800
committeroliver <oliver@FreeBSD.org>2006-04-24 03:01:28 +0800
commitbb4624128188b99be4e92d217a648e69f78548aa (patch)
treeaceae0beac86671b9c8f83e8f8065ab48b4d2ed0 /audio/openal
parent4b034d79d9efc2012a77fc268f2b84533f935289 (diff)
downloadfreebsd-ports-gnome-bb4624128188b99be4e92d217a648e69f78548aa.tar.gz
freebsd-ports-gnome-bb4624128188b99be4e92d217a648e69f78548aa.tar.zst
freebsd-ports-gnome-bb4624128188b99be4e92d217a648e69f78548aa.zip
fix build on amd64
Diffstat (limited to 'audio/openal')
-rw-r--r--audio/openal/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/openal/Makefile b/audio/openal/Makefile
index 586ea1a36da9..4fb9ba48b776 100644
--- a/audio/openal/Makefile
+++ b/audio/openal/Makefile
@@ -74,8 +74,11 @@ CONFIGURE_ARGS+=--disable-smpeg
post-patch:
@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/; \
+ s/x86_64\*/amd64\* | \*ia64\*/g; \
/CPPFLAGS=/ d' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/#include/ s|SDL/||' \
${WRKSRC}/src/extensions/al_ext_mp3.c
+ @${REINPLACE_CMD} -e 's|"mixaudio16_mmx_prk.h"|"arch/i386/mixaudio16_mmx_prk.h"|' \
+ ${WRKSRC}/src/mixaudio16.h
.include <bsd.port.post.mk>