aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mpgtx
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2004-12-15 18:47:45 +0800
committerahze <ahze@FreeBSD.org>2004-12-15 18:47:45 +0800
commit8084bc45080867f027f416176d485c73bedea484 (patch)
treea70cac884c4253c3d32ba9b538326cf27c3c298d /multimedia/mpgtx
parent5a8c9254c95b773074b3325cb000d4b942962bf3 (diff)
downloadfreebsd-ports-gnome-8084bc45080867f027f416176d485c73bedea484.tar.gz
freebsd-ports-gnome-8084bc45080867f027f416176d485c73bedea484.tar.zst
freebsd-ports-gnome-8084bc45080867f027f416176d485c73bedea484.zip
Fix build with -O2 on 6.x
Diffstat (limited to 'multimedia/mpgtx')
-rw-r--r--multimedia/mpgtx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/mpgtx/Makefile b/multimedia/mpgtx/Makefile
index 782b2361fdec..342dc02d19f2 100644
--- a/multimedia/mpgtx/Makefile
+++ b/multimedia/mpgtx/Makefile
@@ -31,12 +31,12 @@ MLINKS= mpgtx.1 mpgcat.1 \
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 600000
-CFLAGS+= -O
+CFLAGS+= -fno-unit-at-a-time
.endif
pre-patch:
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS\+=|g ; \
- s|\$$cflags \$$optimization_cflags|$$cflags|g ; \
+ s|\$$cflags \$$optimization_cflags|${CFLAGS}|g ; \
s|g++|${CXX}|g; s|-pedantic||' ${WRKSRC}/configure
do-install: