summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-09-12 17:08:02 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-09-12 17:08:02 +0000
commit1ae8a03ee70f271ead5a7ac90f1fadd369d3c1bd (patch)
tree204a0d7d0b29b7d233e7cdc565d936f5aab66c44 /perl-install/c
parent1ba9772fd1960d713753c664db2bc621754e1c6f (diff)
downloaddrakx-backup-do-not-use-1ae8a03ee70f271ead5a7ac90f1fadd369d3c1bd.tar
drakx-backup-do-not-use-1ae8a03ee70f271ead5a7ac90f1fadd369d3c1bd.tar.gz
drakx-backup-do-not-use-1ae8a03ee70f271ead5a7ac90f1fadd369d3c1bd.tar.bz2
drakx-backup-do-not-use-1ae8a03ee70f271ead5a7ac90f1fadd369d3c1bd.tar.xz
drakx-backup-do-not-use-1ae8a03ee70f271ead5a7ac90f1fadd369d3c1bd.zip
stuff doesn't contain gtk stuff anymore
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/Makefile.PL4
-rw-r--r--perl-install/c/stuff.xs.pl2
2 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/c/Makefile.PL b/perl-install/c/Makefile.PL
index 2de111c19..7bf7ce128 100644
--- a/perl-install/c/Makefile.PL
+++ b/perl-install/c/Makefile.PL
@@ -7,7 +7,7 @@ use Config;
my $lib = arch() =~ /x86_64/ ? 'lib64' : 'lib';
my $libs = '-lldetect -lext2fs';
-$libs .= " -L/usr/X11R6/$lib -lX11 -lXext -lgdk -lXxf86misc" if $ENV{C_DRAKX};
+$libs .= " -L/usr/X11R6/$lib -lX11 -lXext -lXxf86misc" if $ENV{C_DRAKX};
$libs .= ' -lrpm -lrpmdb -lrpmio -lpopt -lz' if $ENV{C_RPM};
my $pcmcia_dir = $ENV{C_DRAKX} && $Config{archname} =~ /i.86/ ? '../../mdk-stage1/pcmcia_' : '';
@@ -22,5 +22,5 @@ WriteMakefile(
'VERSION_FROM' => 'stuff.pm', # finds $VERSION
'LIBS' => [$libs], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
- 'INC' => "-I/usr/include/rpm `pkg-config gtk+-2.0 --cflags`" . ($pcmcia_dir && " -I$pcmcia_dir -I$pcmcia_dir/.."),
+ 'INC' => "-I/usr/include/rpm " . ($pcmcia_dir && " -I$pcmcia_dir -I$pcmcia_dir/.."),
);
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index d65afeeb2..fb9f86074 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -83,8 +83,6 @@ void rpmError_callback(void) {
$ENV{C_DRAKX} and print '
-#include <gdk/gdkx.h>
-
void initIMPS2() {
unsigned char imps2_s1[] = { 243, 200, 243, 100, 243, 80, };
unsigned char imps2_s2[] = { 246, 230, 244, 243, 100, 232, 3, };