summaryrefslogtreecommitdiffstats
path: root/graphics/libxine
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2002-06-30 17:35:29 +0000
committernobutaka <nobutaka@FreeBSD.org>2002-06-30 17:35:29 +0000
commite95950dec609276fc679697990ce486200137fdd (patch)
tree5f99764fea587d5094b361832963cac38e1f48ec /graphics/libxine
parent978ab1d0bf4db05bb523dd2d408579cc7d29836b (diff)
downloadFreeBSD-ports-e95950dec609276fc679697990ce486200137fdd.zip
FreeBSD-ports-e95950dec609276fc679697990ce486200137fdd.tar.gz
Don't use gcc -falign-* options.
These options are not supported by gcc on -stable. Pointed out by: Bjarne Wichmann Petersen <freebsd.nospam@mekanix.dk>
Diffstat (limited to 'graphics/libxine')
-rw-r--r--graphics/libxine/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/graphics/libxine/Makefile b/graphics/libxine/Makefile
index aec9a4f..2981c98 100644
--- a/graphics/libxine/Makefile
+++ b/graphics/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 ; \
OpenPOWER on IntegriCloud