diff options
author | arved <arved@FreeBSD.org> | 2006-01-21 06:00:52 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2006-01-21 06:00:52 +0800 |
commit | 827b592a9e05b7964a09f362064243fc059441ca (patch) | |
tree | b701ba9124eb695b8be70a11ffaa1abc121d8dd8 /audio | |
parent | 484d798e7335f47f88824e6434693d1cb39c27fa (diff) | |
download | freebsd-ports-gnome-827b592a9e05b7964a09f362064243fc059441ca.tar.gz freebsd-ports-gnome-827b592a9e05b7964a09f362064243fc059441ca.tar.zst freebsd-ports-gnome-827b592a9e05b7964a09f362064243fc059441ca.zip |
Fix build on amd64
PR: 92068
Submitted by: Johan van Selst <johans@stack.nl>
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 |