summaryrefslogtreecommitdiffstats
path: root/multimedia/mpgtx
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2004-12-15 10:47:45 +0000
committerahze <ahze@FreeBSD.org>2004-12-15 10:47:45 +0000
commit8084bc45080867f027f416176d485c73bedea484 (patch)
treea70cac884c4253c3d32ba9b538326cf27c3c298d /multimedia/mpgtx
parent5a8c9254c95b773074b3325cb000d4b942962bf3 (diff)
downloadFreeBSD-ports-8084bc45080867f027f416176d485c73bedea484.zip
FreeBSD-ports-8084bc45080867f027f416176d485c73bedea484.tar.gz
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 782b236..342dc02 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:
OpenPOWER on IntegriCloud