aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2007-03-29 11:32:59 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2007-03-29 11:32:59 +0000
commitf4ca475946e6083b742da600a74782ff63165784 (patch)
treebf7f09c57368d98804b3c56a33fee9dff179d5a0 /multimedia
parenta12ac3a0bc417a44d924217cda1ac56a66cbf095 (diff)
downloadports-f4ca475946e6083b742da600a74782ff63165784.tar.gz
ports-f4ca475946e6083b742da600a74782ff63165784.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xmms-avi/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/xmms-avi/Makefile b/multimedia/xmms-avi/Makefile
index abe4de925480..b45758884798 100644
--- a/multimedia/xmms-avi/Makefile
+++ b/multimedia/xmms-avi/Makefile
@@ -26,12 +26,16 @@ USE_X_PREFIX= yes
USE_SDL= sdl
USE_GNOME= gtk12
GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32
.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} \
+ -e "s|-lc_r|${PTHREAD_LIBS}|g" \
+ -e '/objformat=/s|=.*|=elf|' \
+ ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-march=i586|@CXXFLAGS@|g ; \
s|-O2||g ; \