aboutsummaryrefslogtreecommitdiff
path: root/audio/faad
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2009-03-01 22:27:18 +0000
committerBeech Rintoul <beech@FreeBSD.org>2009-03-01 22:27:18 +0000
commit91b1437b0dc6f2eea9c8af1ee2636abecb80041e (patch)
treeb9f1ba85b9eebb0578de42463d0dfc7d7517f1a8 /audio/faad
parentfd9537a3b6b5cc5af89d67364dd8ebda11dd3b8d (diff)
downloadports-91b1437b0dc6f2eea9c8af1ee2636abecb80041e.tar.gz
ports-91b1437b0dc6f2eea9c8af1ee2636abecb80041e.zip
- Add PIC flags to fix 64 Bit build
Submitted by: KATO Tsuguru <tkato432@yahoo.com> Reported by: pointyhat via pav
Notes
Notes: svn path=/head/; revision=229298
Diffstat (limited to 'audio/faad')
-rw-r--r--audio/faad/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/faad/Makefile b/audio/faad/Makefile
index 7e250c027474..00bf9eea1bc6 100644
--- a/audio/faad/Makefile
+++ b/audio/faad/Makefile
@@ -38,6 +38,8 @@ post-patch:
${WRKSRC}/frontend/Makefile.am
@${REINPLACE_CMD} -e 's|^AM_CFLAGS|AM_CPPFLAGS|g ; \
s|-iquote |-I|g' ${WRKSRC}/libfaad/Makefile.am
+ @${REINPLACE_CMD} -e 's|= -DUSE_|= -fPIC -DPIC -DUSE_|g' \
+ ${WRKSRC}/common/mp4ff/Makefile.am
@${ECHO_CMD} "SUBDIRS = libfaad common frontend" > \
${WRKSRC}/Makefile.am