diff --git a/audio/xmms-faad/Makefile b/audio/xmms-faad/Makefile index 0161fd9e9b7e..5a77258fbbf8 100644 --- a/audio/xmms-faad/Makefile +++ b/audio/xmms-faad/Makefile @@ -34,7 +34,7 @@ PLIST_FILES= lib/xmms/Input/libaac-XMMS.so post-patch: @${REINPLACE_CMD} -e \ - 's|gcc|${CC} ${CFLAGS}|; \ + 's|gcc|${CC} ${CFLAGS} -fPIC|; \ s|-I/usr/include/glib-1.2/||; \ s|-lfaad2|-lfaad -lstdc++|; \ s|-I/usr/lib/glib/include|-L${LOCALBASE}/lib|; \