summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-02-24 02:16:14 +0000
committerlioux <lioux@FreeBSD.org>2004-02-24 02:16:14 +0000
commit4a2d87a9b405079aba7ff4a80ca65baada41b631 (patch)
tree46daad3229fdbd945930b9d2dcfb368ae7d2e508 /multimedia
parent3cbb03321200e687cfca310663e23f49b6321f25 (diff)
downloadFreeBSD-ports-4a2d87a9b405079aba7ff4a80ca65baada41b631.zip
FreeBSD-ports-4a2d87a9b405079aba7ff4a80ca65baada41b631.tar.gz
o Make sure that:
- OSVERSION < 500000 implies in USE_GCC=3.2 - otherwise, USE_GCC=3.3 (which is the default on 5.x series) o This will insure that since both libmatroska and libebml ports were built with the same gcc toolchain, mkvtoolnix port will be able to be linked to both using the same aforementioned gcc toolchain o Bump PORTREVISION
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libmatroska/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/multimedia/libmatroska/Makefile b/multimedia/libmatroska/Makefile
index 8b6033d..d051bbb 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>
OpenPOWER on IntegriCloud