Wed May 18 08:28:39 2011 UTC ()
Remove gcc restriction added in 2004.
Let's see if it's still requiring gcc-only in 2011.

Addresses PR 44981.


(wiz)
diff -r1.48 -r1.49 pkgsrc/multimedia/mplayer-share/Makefile.common

cvs diff -r1.48 -r1.49 pkgsrc/multimedia/mplayer-share/Makefile.common (expand / switch to unified diff)

--- pkgsrc/multimedia/mplayer-share/Makefile.common 2010/10/24 21:56:51 1.48
+++ pkgsrc/multimedia/mplayer-share/Makefile.common 2011/05/18 08:28:39 1.49
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.48 2010/10/24 21:56:51 ahoka Exp $ 1# $NetBSD: Makefile.common,v 1.49 2011/05/18 08:28:39 wiz Exp $
2# used by multimedia/gmplayer/Makefile 2# used by multimedia/gmplayer/Makefile
3# used by multimedia/mencoder/Makefile 3# used by multimedia/mencoder/Makefile
4# used by multimedia/mplayer/Makefile 4# used by multimedia/mplayer/Makefile
5 5
6MPLAYER_SNAPSHOT_DATE= 2010-09-13 6MPLAYER_SNAPSHOT_DATE= 2010-09-13
7MPLAYER_VERSION= 1.0rc${MPLAYER_SNAPSHOT_DATE:S/-//g} 7MPLAYER_VERSION= 1.0rc${MPLAYER_SNAPSHOT_DATE:S/-//g}
8 8
9DISTNAME= mplayer-${MPLAYER_SNAPSHOT_DATE:S/-//g} 9DISTNAME= mplayer-${MPLAYER_SNAPSHOT_DATE:S/-//g}
10 10
11CATEGORIES?= multimedia 11CATEGORIES?= multimedia
12 12
13MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=commondistfiles/} 13MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=commondistfiles/}
14 14
@@ -36,28 +36,26 @@ NO_BIN_ON_CDROM= ${RESTRICTED} @@ -36,28 +36,26 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
36NO_BIN_ON_FTP= ${RESTRICTED} 36NO_BIN_ON_FTP= ${RESTRICTED}
37NO_SRC_ON_FTP= ${RESTRICTED} 37NO_SRC_ON_FTP= ${RESTRICTED}
38 38
39USE_TOOLS+= gmake 39USE_TOOLS+= gmake
40HAS_CONFIGURE= YES 40HAS_CONFIGURE= YES
41 41
42PTHREAD_OPTS+= require 42PTHREAD_OPTS+= require
43 43
44CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \ 44CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \
45 #--with-extraincdir="${LOCALBASE}/include:${LOCALBASE}/include/faad2:${LOCALBASE}/include/cdparanoia:${LOCALBASE}/include/freetype2" \ 45 #--with-extraincdir="${LOCALBASE}/include:${LOCALBASE}/include/faad2:${LOCALBASE}/include/cdparanoia:${LOCALBASE}/include/freetype2" \
46 --with-extralibdir="${LOCALBASE}/lib" \ 46 --with-extralibdir="${LOCALBASE}/lib" \
47 --disable-dvdread-internal --disable-smb 47 --disable-dvdread-internal --disable-smb
48 48
49ONLY_FOR_COMPILER= gcc 
50 
51# The configure script attempts to test-execute compiled programs in /tmp, 49# The configure script attempts to test-execute compiled programs in /tmp,
52# but that directory may be mounted as noexec; work this around by setting 50# but that directory may be mounted as noexec; work this around by setting
53# TMPDIR to ${WRKDIR} 51# TMPDIR to ${WRKDIR}
54CONFIGURE_ENV+= TMPDIR=${WRKDIR:Q} 52CONFIGURE_ENV+= TMPDIR=${WRKDIR:Q}
55 53
56.include "../../mk/bsd.prefs.mk" 54.include "../../mk/bsd.prefs.mk"
57 55
58# The configure script misdetects endianness on mipseb 56# The configure script misdetects endianness on mipseb
59.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipseb" 57.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipseb"
60CONFIGURE_ARGS+= --enable-big-endian 58CONFIGURE_ARGS+= --enable-big-endian
61.endif 59.endif
62 60
63.if !empty(MACHINE_PLATFORM:MNetBSD-*-arm) 61.if !empty(MACHINE_PLATFORM:MNetBSD-*-arm)