diff options
author | tnn <tnn@pkgsrc.org> | 2008-02-08 10:17:26 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-02-08 10:17:26 +0000 |
commit | e3ff7686309c8d90338738e15f1963136db6c656 (patch) | |
tree | b98cf78c7eacb7e689b9325c493494888c9bffa6 /multimedia/mplayer-share/Makefile.cflags | |
parent | bcf943d18bda271e1c0cecea62ced1b09d122b00 (diff) | |
download | pkgsrc-e3ff7686309c8d90338738e15f1963136db6c656.tar.gz |
Fix a pbulk scan failure. mplayer is only available with gcc, but
the Makefile.cflags naively checked the value of CC_VERSION which is
unset if we're not using gcc. Found with Solaris x86 and sunpro.
Diffstat (limited to 'multimedia/mplayer-share/Makefile.cflags')
-rw-r--r-- | multimedia/mplayer-share/Makefile.cflags | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/mplayer-share/Makefile.cflags b/multimedia/mplayer-share/Makefile.cflags index f26821e55d2..934836ff30d 100644 --- a/multimedia/mplayer-share/Makefile.cflags +++ b/multimedia/mplayer-share/Makefile.cflags @@ -1,11 +1,11 @@ -# $NetBSD: Makefile.cflags,v 1.4 2007/09/06 18:31:00 abs Exp $ +# $NetBSD: Makefile.cflags,v 1.5 2008/02/08 10:17:26 tnn Exp $ # This must be included after everything else to truly clear ${CFLAGS} # in the non-runtime-cpu-detection case. If ${CFLAGS} is non-empty, the # configure script refuses to add any optimizations at all. .if !empty(PKG_OPTIONS:Mmplayer-default-cflags) -. if ${MACHINE_ARCH} == i386 +. if ${MACHINE_ARCH} == "i386" && !empty(PKGSRC_COMPILER:Mgcc) # Schedule for the typical machine fast enough to run mplayer. This # is nearly optimal for K6-2 as well. Anything slower will still run # (but would probably benefit greatly from turning off the run-time |