aboutsummaryrefslogtreecommitdiff
path: root/audio/ccaudio2
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-01-20 22:00:52 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-01-20 22:00:52 +0000
commit8d8f41f42c2d1560c18c4b65f3dbd1ce8287f73d (patch)
treeb42b87c38e8fe6c7c877a853e05b385de7082505 /audio/ccaudio2
parent5994b1225170cff1782eaf2cab9022a71988ef88 (diff)
downloadports-8d8f41f42c2d1560c18c4b65f3dbd1ce8287f73d.tar.gz
ports-8d8f41f42c2d1560c18c4b65f3dbd1ce8287f73d.zip
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/ccaudio2')
-rw-r--r--audio/ccaudio2/Makefile6
1 files changed, 2 insertions, 4 deletions
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