diff options
author | kris <kris@FreeBSD.org> | 2006-01-19 23:42:10 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2006-01-19 23:42:10 +0000 |
commit | 7540b69f0fb9b8ccc7d17f558524e50607d75b0a (patch) | |
tree | 2fd72652db76fe84cf73e4ae1e32781cf3584e2e /audio/ccaudio | |
parent | 026216d94ab4532e8065a194a481220d497c1124 (diff) | |
download | FreeBSD-ports-7540b69f0fb9b8ccc7d17f558524e50607d75b0a.zip FreeBSD-ports-7540b69f0fb9b8ccc7d17f558524e50607d75b0a.tar.gz |
BROKEN: Build fails on amd64 (missing -fPIC on shared libraries)
Diffstat (limited to 'audio/ccaudio')
-rw-r--r-- | audio/ccaudio/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/ccaudio/Makefile b/audio/ccaudio/Makefile index cccbb55..e54d85b 100644 --- a/audio/ccaudio/Makefile +++ b/audio/ccaudio/Makefile @@ -27,6 +27,12 @@ MAN3= Audio.3cc AudioCodec.3cc AudioCopy.3cc AudioFile.3cc \ AudioSample.3cc AudioTone.3cc CDAudio.3cc DTMFDetect.3cc \ LinearSample.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 @@ -34,4 +40,4 @@ post-patch: pre-configure: @${CP} ${LTMAIN} ${WRKSRC}/config -.include <bsd.port.mk> +.include <bsd.port.post.mk> |