USE_GCC=3.4 is required; thus, mark BROKEN for OSVERSION <= 500000

since the required libraries will be incompatible with the ffmpeg-devel
binary code. Patches are being worked on for both 2.95 and 4.0.1
gcc support

Submitted by:	ahze
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2005-05-13 04:00:19 +00:00
parent 634bce6776
commit dadae425e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135170

View file

@ -18,6 +18,7 @@ HAS_CONFIGURE= yes
USE_LINUX= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GCC= 3.4
USE_REINPLACE= yes
WANT_SDL= yes
CONFIGURE_ARGS= --cc="${CC}" --prefix="${PREFIX}" \
@ -73,6 +74,10 @@ LIB_FILES= libavcodec/libavcodec.a libavformat/libavformat.a
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= 'Does not compile on FreeBSD 4.x'
.endif
.if (exists(${LOCALBASE}/lib/libavformat.so))
BROKEN= 'Please remove previous version of ${PORTNAME} to continue build'
.endif