Mercurial > pidgin.yaz
diff libpurple/plugins/perl/common/Makefile.PL.in @ 27175:77177e6000e4
Install the Purple and Pidgin perl modules under $libdir instead of in perl's
normal @INC locations. Since they aren't usable by perl directly existing
there just confused people and conflicted with similarly named perl modules.
Thanks Zsombor Welker. Fixes #5428
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Thu, 18 Jun 2009 23:01:51 +0000 |
parents | 39c7bb133a9f |
children | 4f89666c8d81 |
line wrap: on
line diff
--- a/libpurple/plugins/perl/common/Makefile.PL.in Thu Jun 18 22:48:49 2009 +0000 +++ b/libpurple/plugins/perl/common/Makefile.PL.in Thu Jun 18 23:01:51 2009 +0000 @@ -13,4 +13,16 @@ 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple @GLIB_CFLAGS@', 'OBJECT' => '$(O_FILES)', # link all the C files too # 'OPTIMIZE' => '-g', # For debugging + 'INSTALLDIRS' => 'vendor', + 'INSTALL_BASE' => '$(prefix)', + 'INSTALLVENDORARCH' => '$(libdir)/purple-$(PURPLE_MAJOR_VERSION)/perl', + 'INSTALLVENDORMAN3DIR' => '$(mandir)/man3', + 'macro' => { + 'prefix' => '@prefix@', + 'exec_prefix' => '@exec_prefix@', + 'libdir' => '@libdir@', + 'mandir' => '@mandir@', + 'datarootdir' => '@datarootdir@', + 'PURPLE_MAJOR_VERSION' => '@PURPLE_MAJOR_VERSION@', + }, );