ports/115108: multimedia/mplayer remove references to FreeBSD 4.x
David Yeske
dyeske at gmail.com
Wed Aug 1 07:40:02 UTC 2007
>Number: 115108
>Category: ports
>Synopsis: multimedia/mplayer remove references to FreeBSD 4.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 01 07:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: David Yeske
>Release: RELENG_6
>Organization:
>Environment:
FreeBSD hymen 6.2-STABLE FreeBSD 6.2-STABLE #9: Mon Jul 2 02:25:24 EDT 2007 root at hymen:/usr/obj/usr/src/sys/HYMEN i386
>Description:
remove references to FreeBSD 4.x since this is a noop
>How-To-Repeat:
>Fix:
see attachment
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/mplayer/Makefile,v
retrieving revision 1.165
diff -u -r1.165 Makefile
--- Makefile 28 Jul 2007 12:27:28 -0000 1.165
+++ Makefile 1 Aug 2007 06:16:07 -0000
@@ -59,13 +59,11 @@
#
# WITH_DVD_DEVICE=/path/to/desired/device
# default 5.x: /dev/acd0
-# default 4.x: /dev/acd0c
# This option changes the default device where mplayer looks for
# a DVD medium
#
# WITH_CDROM_DEVICE=/path/to/desired/device
# default 5.x: /dev/acd0
-# default 4.x: /dev/acd0c
# This option changes the default cdrom device, maybe useful for VCDs
#
# WITH_LANG=<your choice>
@@ -191,24 +189,6 @@
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-USE_GCC= 3.4+
-CFLAGS+= -Duint_fast64_t=uint64_t
-CFLAGS+= -Droundf=rintf
-CFLAGS+= -Dllrint=rint
-.if ${ARCH} == "i386"
-CFLAGS+= -DPRId64=\\\"lld\\\"
-CFLAGS+= -DPRIu64=\\\"llu\\\"
-CFLAGS+= -DPRIx64=\\\"llx\\\"
-CFLAGS+= -DPRIX64=\\\"llX\\\"
-.else
-CFLAGS+= -DPRId64=\\\"ld\\\"
-CFLAGS+= -DPRIu64=\\\"lu\\\"
-CFLAGS+= -DPRIx64=\\\"lx\\\"
-CFLAGS+= -DPRIX64=\\\"lX\\\"
-.endif
-.endif
-
#Building of vidix dependent shared libs is only possible
#on i386 and amd64 at the moment.
.if !defined(WITHOUT_VIDIX)
@@ -565,22 +545,14 @@
.if defined(WITH_DVD_DEVICE)
DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
.else
-.if ${OSVERSION} < 500000
-DEFAULT_DVD_DEVICE=/dev/acd0c
-.else
DEFAULT_DVD_DEVICE=/dev/acd0
.endif
-.endif
.if defined(WITH_CDROM_DEVICE)
DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE}
.else
-.if ${OSVERSION} < 500000
-DEFAULT_CDROM_DEVICE=/dev/acd0c
-.else
DEFAULT_CDROM_DEVICE=/dev/acd0
.endif
-.endif
.if defined(WITH_KERN_HZ)
DEFAULT_KERN_HZ=${WITH_KERN_HZ}
@@ -603,7 +575,7 @@
.if defined(WITHOUT_MMX) || defined(WITHOUT_SIMD)
CONFIGURE_ARGS+=--disable-mmx
.endif
-.if defined(WITHOUT_3DNOW) || defined(WITHOUT_SIMD) || ${OSVERSION} < 400021
+.if defined(WITHOUT_3DNOW) || defined(WITHOUT_SIMD)
CONFIGURE_ARGS+=--disable-3dnow --disable-3dnowext
.endif
.if defined(WITHOUT_SSE) || defined(WITHOUT_SIMD)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list