aboutsummaryrefslogtreecommitdiff
path: root/textproc/libebml
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-02-24 02:56:30 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-02-24 02:56:30 +0000
commit8d90e1c67581500ed6f949e500e12ea23ff1ea7b (patch)
treeecde5b8ed8625bd75146333b8e2b7afbc3dcdc68 /textproc/libebml
parent8548ddd9081252952bb9df51166a8bfc623c337c (diff)
downloadports-8d90e1c67581500ed6f949e500e12ea23ff1ea7b.tar.gz
ports-8d90e1c67581500ed6f949e500e12ea23ff1ea7b.zip
o FreeBSD 5.x series had gcc 3.2.x per default up until OSVERSION
501103. However, users from FreeBSD series previous to 5.x are required to build gcc32 port. o Therefore, do not force 5.x users to build gcc33 port if their available gcc32 toolchain will do. In so many words, .if ${OSVERSION} < 501103 USE_GCC=3.2 .else USE_GCC=3.3 .endif Prompted by: markus Reviewed by: markus, will
Notes
Notes: svn path=/head/; revision=101936
Diffstat (limited to 'textproc/libebml')
-rw-r--r--textproc/libebml/Makefile7
1 files changed, 6 insertions, 1 deletions
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