aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libxine
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-06-30 17:35:29 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-06-30 17:35:29 +0000
commit57fca668f3246ac729f7f3b16204fb261258e179 (patch)
treee06ff9c0eb9786c7fc332f9a1d9babf1f462828f /multimedia/libxine
parent7b9f0c882d67e1d70de7588f5e793ec65645cdf7 (diff)
downloadports-57fca668f3246ac729f7f3b16204fb261258e179.tar.gz
ports-57fca668f3246ac729f7f3b16204fb261258e179.zip
Notes
Diffstat (limited to 'multimedia/libxine')
-rw-r--r--multimedia/libxine/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index aec9a4f184c3..2981c98a3d77 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -88,17 +88,20 @@ PLIST_SUB+= HAVE_OGG="@comment "
.endif
post-patch:
- @${REINPLACE_CMD} -i.bak -e \
+ @${REINPLACE_CMD} -e \
's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
s|-L/usr/local/lib||g ; \
s|-I/usr/local/include||g ; \
s|-lgiconv|-liconv|g ; \
- s|-malign-loops|-falign-loops|g ; \
- s|-malign-jumps|-falign-jumps|g ; \
- s|-malign-functions|-falign-functions|g ; \
s|-funroll-loops||g' ${WRKSRC}/configure.in
- @${REINPLACE_CMD} -i.bak -e \
+.if ${OSVERSION} >= 500035
+ @${REINPLACE_CMD} -e \
+ 's|-malign-loops|-falign-loops|g ; \
+ s|-malign-jumps|-falign-jumps|g ; \
+ s|-malign-functions|-falign-functions|g' ${WRKSRC}/configure.in
+.endif
+ @${REINPLACE_CMD} -e \
's|aclocal,|${ACLOCAL},|g ; \
s|autoconf,|${AUTOCONF},|g ; \
s|automake,|${AUTOMAKE},|g ; \