aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libmatroska
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libmatroska')
-rw-r--r--multimedia/libmatroska/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/multimedia/libmatroska/Makefile b/multimedia/libmatroska/Makefile
index 8b6033d7f8eb..d051bbb8b929 100644
--- a/multimedia/libmatroska/Makefile
+++ b/multimedia/libmatroska/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libmatroska
PORTVERSION= 0.6.3
+PORTREVISION= 1
CATEGORIES= multimedia audio
MASTER_SITES= http://dl.matroska.org/downloads/libmatroska/
@@ -48,19 +49,11 @@ do-configure:
.if ${OSVERSION} < 500000
# this is gcc 2.x
CFLAGS+= -DNO_WSTRING
-.endif
-
-.if exists(${LOCALBASE}/bin/gcc32)
-WITH_GCC_32= yes
-.else if exists(${LOCALBASE}/bin/gcc31)
-WITH_GCC_31= yes
-.endif
-
-# prefer 3.2 over 3.1
-.if defined (WITH_GCC_31)
-USE_GCC=3.1
-.else
+# use gcc 3.2
USE_GCC=3.2
+.else
+# default for 5.x series
+USE_GCC=3.3
.endif
.include <bsd.port.post.mk>