diff options
Diffstat (limited to 'perl-install/xf86misc/Makefile.PL')
-rw-r--r-- | perl-install/xf86misc/Makefile.PL | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/perl-install/xf86misc/Makefile.PL b/perl-install/xf86misc/Makefile.PL new file mode 100644 index 000000000..c0a1070cb --- /dev/null +++ b/perl-install/xf86misc/Makefile.PL @@ -0,0 +1,15 @@ +use ExtUtils::MakeMaker; +use MDK::Common; +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. + +my $lib = arch() =~ /x86_64/ ? 'lib64' : 'lib'; + +WriteMakefile( + 'NAME' => 'main', + 'MAKEFILE' => 'Makefile_c', + 'OPTIMIZE' => '-Os', + 'VERSION_FROM' => 'main.pm', # finds $VERSION + 'LIBS' => ["-L/usr/X11R6/$lib -lX11 -lXext -lXxf86misc"], + 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' +); |