aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/libmatroska/Makefile7
-rw-r--r--multimedia/mkvtoolnix/Makefile6
-rw-r--r--textproc/libebml/Makefile7
3 files changed, 18 insertions, 2 deletions
diff --git a/multimedia/libmatroska/Makefile b/multimedia/libmatroska/Makefile
index d051bbb8b929..ae4ce1c95086 100644
--- a/multimedia/libmatroska/Makefile
+++ b/multimedia/libmatroska/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libmatroska
PORTVERSION= 0.6.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia audio
MASTER_SITES= http://dl.matroska.org/downloads/libmatroska/
@@ -49,6 +49,11 @@ do-configure:
.if ${OSVERSION} < 500000
# this is gcc 2.x
CFLAGS+= -DNO_WSTRING
+.endif
+
+# gcc 3.2 was available on 5.x before this OSVERSION
+# do not build gcc 3.3 unless necessary
+.if ${OSVERSION} < 501103
# use gcc 3.2
USE_GCC=3.2
.else
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile
index efbf773995be..13e3be6c78ee 100644
--- a/multimedia/mkvtoolnix/Makefile
+++ b/multimedia/mkvtoolnix/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mkvtoolnix
PORTVERSION= 0.8.5
+PORTREVISION= 1
CATEGORIES= multimedia audio
MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/
@@ -39,6 +40,11 @@ post-patch:
.if ${OSVERSION} < 500000
# this is gcc 2.x
CFLAGS+= -DNO_WSTRING
+.endif
+
+# gcc 3.2 was available on 5.x before this OSVERSION
+# do not build gcc 3.3 unless necessary
+.if ${OSVERSION} < 501103
# use gcc 3.2
USE_GCC=3.2
.else
diff --git a/textproc/libebml/Makefile b/textproc/libebml/Makefile
index a28e69df87b5..9bf1c60ac655 100644
--- a/textproc/libebml/Makefile
+++ b/textproc/libebml/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libebml
PORTVERSION= 0.6.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://dl.matroska.org/downloads/libebml/
@@ -38,6 +38,11 @@ do-configure:
.if ${OSVERSION} < 500000
# this is gcc 2.x
CFLAGS+= -DNO_WSTRING
+.endif
+
+# gcc 3.2 was available on 5.x before this OSVERSION
+# do not build gcc 3.3 unless necessary
+.if ${OSVERSION} < 501103
# use gcc 3.2
USE_GCC=3.2
.else