From 827b592a9e05b7964a09f362064243fc059441ca Mon Sep 17 00:00:00 2001 From: arved Date: Fri, 20 Jan 2006 22:00:52 +0000 Subject: Fix build on amd64 PR: 92068 Submitted by: Johan van Selst --- audio/ccaudio2/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'audio/ccaudio2') 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 -.if ${ARCH} == "amd64" -BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)" -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|||g' ${WRKSRC}/src/dtmf.cpp + @${REINPLACE_CMD} -e \ + 's|@CXXFLAGS@|& $$(g_711_CXXFLAGS)|' ${WRKSRC}/dso/Makefile.in pre-configure: @${CP} ${LTMAIN} ${WRKSRC}/config -- cgit