summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2011-03-08 15:18:15 +0000
committerAntoine Ginies <aginies@mandriva.com>2011-03-08 15:18:15 +0000
commit7c34b0460ebd208a1bbdc3f86705bdc28eb9cf23 (patch)
tree00898bd6af164314fd1295a3f753eaae24e6c31d /perl-install/c
parente195fbf38872f2470d0272790f0a0627b7a7e8de (diff)
downloaddrakx-backup-do-not-use-7c34b0460ebd208a1bbdc3f86705bdc28eb9cf23.tar
drakx-backup-do-not-use-7c34b0460ebd208a1bbdc3f86705bdc28eb9cf23.tar.gz
drakx-backup-do-not-use-7c34b0460ebd208a1bbdc3f86705bdc28eb9cf23.tar.bz2
drakx-backup-do-not-use-7c34b0460ebd208a1bbdc3f86705bdc28eb9cf23.tar.xz
drakx-backup-do-not-use-7c34b0460ebd208a1bbdc3f86705bdc28eb9cf23.zip
remove pcmcia_probe (not needed on server, and need to investigate why this cause KVM trouble...
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/Makefile.PL3
-rw-r--r--perl-install/c/stuff.xs.pl8
2 files changed, 2 insertions, 9 deletions
diff --git a/perl-install/c/Makefile.PL b/perl-install/c/Makefile.PL
index ea99f60bb..e364d7995 100644
--- a/perl-install/c/Makefile.PL
+++ b/perl-install/c/Makefile.PL
@@ -15,7 +15,8 @@ WriteMakefile(
'NAME' => 'stuff',
'OPTIMIZE' => '-Os',
'MAKEFILE' => 'Makefile_c',
- 'OBJECT' => "stuff.o " . (-e $pcmcia_probe_o && " $pcmcia_probe_o"),
+ 'OBJECT' => "stuff.o ",
+# 'OBJECT' => "stuff.o " . (-e $pcmcia_probe_o && " $pcmcia_probe_o"),
'VERSION_FROM' => 'stuff.pm', # finds $VERSION
'LIBS' => [$libs], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index cd2c6bf03..7afd69836 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -58,9 +58,6 @@ typedef __uint8_t u8;
#include <parted/parted.h>
';
-$Config{archname} =~ /i.86/ and print '
-char *pcmcia_probe(void);
-';
print '
@@ -108,11 +105,6 @@ MODULE = c::stuff PACKAGE = c::stuff
';
-$Config{archname} =~ /i.86/ and print '
-char *
-pcmcia_probe()
-';
-
print '
int
del_partition(hd, part_number)