diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2006-01-20 22:00:52 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2006-01-20 22:00:52 +0000 |
commit | 8d8f41f42c2d1560c18c4b65f3dbd1ce8287f73d (patch) | |
tree | b42b87c38e8fe6c7c877a853e05b385de7082505 /audio | |
parent | Fix an incorrect bounds check in kjs, the JavaScript interpreter engine used (diff) |
Fix build on amd64
PR: 92068
Submitted by: Johan van Selst <johans@stack.nl>
Notes
Notes:
svn path=/head/; revision=154014
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ccaudio/Makefile | 6 | ||||
-rw-r--r-- | audio/ccaudio2/Makefile | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/audio/ccaudio/Makefile b/audio/ccaudio/Makefile index e54d85bf5021..bfee41804076 100644 --- a/audio/ccaudio/Makefile +++ b/audio/ccaudio/Makefile @@ -29,13 +29,11 @@ MAN3= Audio.3cc AudioCodec.3cc AudioCopy.3cc AudioFile.3cc \ .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" -BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)" -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|<stdint\.h>|<stdlib.h>|g' ${WRKSRC}/src/dtmf.cpp + @${REINPLACE_CMD} -e \ + 's|@CXXFLAGS@|& $$(g_711_CXXFLAGS)|' ${WRKSRC}/dso/Makefile.in pre-configure: @${CP} ${LTMAIN} ${WRKSRC}/config diff --git a/audio/ccaudio2/Makefile b/audio/ccaudio2/Makefile index e54d85bf5021..bfee41804076 100644 --- a/audio/ccaudio2/Makefile +++ b/audio/ccaudio2/Makefile @@ -29,13 +29,11 @@ MAN3= Audio.3cc AudioCodec.3cc AudioCopy.3cc AudioFile.3cc \ .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" -BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)" -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|<stdint\.h>|<stdlib.h>|g' ${WRKSRC}/src/dtmf.cpp + @${REINPLACE_CMD} -e \ + 's|@CXXFLAGS@|& $$(g_711_CXXFLAGS)|' ${WRKSRC}/dso/Makefile.in pre-configure: @${CP} ${LTMAIN} ${WRKSRC}/config |