… | |
… | |
15 | $LIBS = ["-L/gtk/lib -lpthreadVC2"]; |
15 | $LIBS = ["-L/gtk/lib -lpthreadVC2"]; |
16 | |
16 | |
17 | } else { |
17 | } else { |
18 | |
18 | |
19 | $INC = ""; |
19 | $INC = ""; |
20 | $LIBS = ['-lpthread -lrt', '-lpthread', '-lpthreads', '-lpthreadVC2', '']; |
20 | $LIBS = ['-lpthread', '-lpthreads', '-lpthreadVC2', '']; |
21 | |
21 | |
22 | if ($^O =~ /freebsd/i) { |
22 | if ($^O =~ /freebsd/i) { |
23 | print <<EOF; |
23 | print <<EOF; |
24 | |
24 | |
25 | This package seems to deadlock or otherwise misbehave under FreeBSD. As |
25 | This package seems to deadlock or otherwise misbehave under FreeBSD. As |
… | |
… | |
45 | $ENV{SHELL} = $Config{sh}; |
45 | $ENV{SHELL} = $Config{sh}; |
46 | $ENV{CC} = $Config{cc}; |
46 | $ENV{CC} = $Config{cc}; |
47 | $ENV{CPPFLAGS} = $Config{cppflags}; |
47 | $ENV{CPPFLAGS} = $Config{cppflags}; |
48 | $ENV{CFLAGS} = $Config{ccflags}; |
48 | $ENV{CFLAGS} = $Config{ccflags}; |
49 | $ENV{LDFLAGS} = $Config{ldflags}; |
49 | $ENV{LDFLAGS} = $Config{ldflags}; |
50 | $ENV{LIBS} = $Config{libs}; |
|
|
51 | $ENV{LINKER} = $Config{ld}; # nonstandard |
50 | $ENV{LINKER} = $Config{ld}; # nonstandard |
52 | |
51 | |
53 | system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E" |
52 | system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E" |
54 | and exit $? >> 8; |
53 | and exit $? >> 8; |
55 | } |
54 | } |