summaryrefslogtreecommitdiffstats
path: root/perl-install/c/Makefile.PL
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-11-21 14:54:53 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-11-21 14:54:53 +0000
commit34be445681c8dc42b73e95b80464ebad33503e8e (patch)
treea0b7a8d1f57a339195ca6e2cc17d0dde80e63f07 /perl-install/c/Makefile.PL
parent06e0bdfe68920691681c0db04f31dc1c90fdad98 (diff)
downloaddrakx-34be445681c8dc42b73e95b80464ebad33503e8e.tar
drakx-34be445681c8dc42b73e95b80464ebad33503e8e.tar.gz
drakx-34be445681c8dc42b73e95b80464ebad33503e8e.tar.bz2
drakx-34be445681c8dc42b73e95b80464ebad33503e8e.tar.xz
drakx-34be445681c8dc42b73e95b80464ebad33503e8e.zip
migrate pcmcia in drakx to use in-kernel version (only
for 2.4, though --> pcmcia in 2.2 no longer supported)
Diffstat (limited to 'perl-install/c/Makefile.PL')
-rw-r--r--perl-install/c/Makefile.PL6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/c/Makefile.PL b/perl-install/c/Makefile.PL
index e4d13859a..206ab4ef1 100644
--- a/perl-install/c/Makefile.PL
+++ b/perl-install/c/Makefile.PL
@@ -7,15 +7,15 @@ my $libs = '-lldetect -lext2fs';
$libs .= ' -L/usr/X11R6/lib -lX11 -lgdk -lXxf86misc' if $ENV{C_DRAKX};
$libs .= ' -lrpm -lrpmdb -lrpmio -lz' if $ENV{C_RPM};
-my $pcmcia_dir = $ENV{C_DRAKX} && $Config{archname} =~ /i.86/ ? '../../mdk-stage1/pcmcia' : '';
+my $pcmcia_dir = $ENV{C_DRAKX} && $Config{archname} =~ /i.86/ ? '../../mdk-stage1/pcmcia_' : '';
-symlink "$pcmcia_dir/pcmcia_probe.c", "pcmcia_probe.c" if $pcmcia_dir;
+symlink "$pcmcia_dir/probe.c", "probe.c" if $pcmcia_dir;
WriteMakefile(
'NAME' => 'stuff',
'OPTIMIZE' => '-Os',
'MAKEFILE' => 'Makefile_c',
- 'OBJECT' => "stuff.o smp.o sbus.o silo.o" . ($pcmcia_dir && " pcmcia_probe.o"),
+ 'OBJECT' => "stuff.o smp.o sbus.o silo.o" . ($pcmcia_dir && " probe.o"),
'VERSION_FROM' => 'stuff.pm', # finds $VERSION
'LIBS' => [$libs], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'