aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-10-30 00:58:13 +0800
committerJuergen Lock <nox@FreeBSD.org>2011-10-30 00:58:13 +0800
commit8c288a063954a858d34495952974e5ce08b84baa (patch)
tree22c79212e745cb349d2ff9a5202685a87f5576e6 /multimedia
parent17318c886c291b270da518249be63643cda9b337 (diff)
downloadfreebsd-ports-gnome-8c288a063954a858d34495952974e5ce08b84baa.tar.gz
freebsd-ports-gnome-8c288a063954a858d34495952974e5ce08b84baa.tar.zst
freebsd-ports-gnome-8c288a063954a858d34495952974e5ce08b84baa.zip
libxine only builds with -O1 or higher, add a check to avoid more people
wondering about obscure build failures otherwise. PR: ports/162037 [1] (related to) Submitted by: Ilya Ermolin <ermolinis@gmail.com> [1]
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libxine/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index 044217e83cd0..708389ff0c58 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -102,6 +102,11 @@ PATCH_DIST_ARGS= -d ${WRKSRC} -p1 --forward --quiet
DEBUG_FLAGS= -g -O1
.endif
+# Check for forced -O0 (or no -O)
+.if ${CFLAGS:M-O0} == "-O0" || (${CFLAGS:M-O} == "" && ${CFLAGS:M-O[1-9]} == "")
+IGNORE= only builds with -O1 or higher, check CFLAGS
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""