aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libebml/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-02-24 10:16:14 +0800
committerlioux <lioux@FreeBSD.org>2004-02-24 10:16:14 +0800
commit4a2d87a9b405079aba7ff4a80ca65baada41b631 (patch)
tree46daad3229fdbd945930b9d2dcfb368ae7d2e508 /textproc/libebml/Makefile
parent3cbb03321200e687cfca310663e23f49b6321f25 (diff)
downloadfreebsd-ports-graphics-4a2d87a9b405079aba7ff4a80ca65baada41b631.tar.gz
freebsd-ports-graphics-4a2d87a9b405079aba7ff4a80ca65baada41b631.tar.zst
freebsd-ports-graphics-4a2d87a9b405079aba7ff4a80ca65baada41b631.zip
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 'textproc/libebml/Makefile')
-rw-r--r--textproc/libebml/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/libebml/Makefile b/textproc/libebml/Makefile
index 7cfbfdab1dc..a28e69df87b 100644
--- a/textproc/libebml/Makefile
+++ b/textproc/libebml/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libebml
PORTVERSION= 0.6.4
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://dl.matroska.org/downloads/libebml/
@@ -36,7 +37,12 @@ do-configure:
.if ${OSVERSION} < 500000
# this is gcc 2.x
-CFLAGS+= -DNO_WSTRING
+CFLAGS+= -DNO_WSTRING
+# use gcc 3.2
+USE_GCC=3.2
+.else
+# default for 5.x series
+USE_GCC=3.3
.endif
.include <bsd.port.post.mk>