pkgsrc-ng/sysutils/dvdisaster/patches/patch-scripts_bash-based-configure
2016-01-21 23:41:46 +01:00

31 lines
680 B
Plaintext

$NetBSD: patch-scripts_bash-based-configure,v 1.1 2015/04/26 13:30:58 joerg Exp $
--- scripts/bash-based-configure.orig 2015-04-26 11:58:05.000000000 +0000
+++ scripts/bash-based-configure
@@ -328,24 +328,7 @@ function REQUIRE_GMAKE()
function REQUIRE_GCC()
{
- if test -n "$cfg_help_mode"; then
- return 0
- fi
-
- echo -n "Checking for gcc: "
-
- if gcc -v >/dev/null 2>&1; then
- if (gcc -v 2>&1 | grep "gcc") > /dev/null 2>&1 ;
- then echo "yes"
- echo "CC = `which gcc`" >>Makefile.config
- CC=gcc
- return 0
- fi;
- fi;
-
- echo "no"
- echo "This package requires the GNU C compiler (gcc)."
- exit 1;
+ return 0
}
#