o Play nice in FreeBSD series before 5.x, defaulting on all mkvtoolnix

dependencies (them and it at the same time) to USE_GCC=2.95 is
  enough
o The requirement on gcc 3.x on one of the dependencies was removed
  and I forgot to check yet another variation

PR:		63581
Submitted by:	michael johnson <ahze@ahze.net>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2004-03-14 10:22:53 +00:00
parent c5e7b06193
commit 8b04c891a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103974
3 changed files with 18 additions and 15 deletions

View file

@ -46,11 +46,6 @@ do-configure:
.include <bsd.port.pre.mk>
.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
@ -61,4 +56,10 @@ USE_GCC=3.2
USE_GCC=3.3
.endif
.if ${OSVERSION} < 500000
USE_GCC=2.95
# this is gcc 2.x
CFLAGS+= -DNO_WSTRING -I${LOCALBASE}/include
.endif
.include <bsd.port.post.mk>

View file

@ -37,11 +37,6 @@ post-patch:
.include <bsd.port.pre.mk>
.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
@ -52,4 +47,10 @@ USE_GCC=3.2
USE_GCC=3.3
.endif
.if ${OSVERSION} < 500000
USE_GCC=2.95
# this is gcc 2.x
CFLAGS+= -DNO_WSTRING
.endif
.include <bsd.port.post.mk>

View file

@ -35,11 +35,6 @@ do-configure:
.include <bsd.port.pre.mk>
.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
@ -50,4 +45,10 @@ USE_GCC=3.2
USE_GCC=3.3
.endif
.if ${OSVERSION} < 500000
USE_GCC=2.95
# this is gcc 2.x
CFLAGS+= -DNO_WSTRING
.endif
.include <bsd.port.post.mk>