From: Michal Vaner Date: Fri, 7 Nov 2008 14:18:11 +0000 (+0100) Subject: Store path to perl modules into pkgconfig X-Git-Tag: holmes-import~180 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6e9edaa874ffc56c3e1e1baa05b4b68bd89ef79f;p=libucw.git Store path to perl modules into pkgconfig --- diff --git a/ucw/libucw.pc b/ucw/libucw.pc index 745f0313..f8542523 100644 --- a/ucw/libucw.pc +++ b/ucw/libucw.pc @@ -9,6 +9,9 @@ threads=-lpthread threads= #endif +perl_modules_dir=@INSTALL_PERL_DIR@ +perl_module_flags=-I${perl_modules_dir} + Name: libucw Description: A library of utility functions and data structures Version: @SHERLOCK_VERSION@ diff --git a/ucw/perl/UCW/Configure/Paths.pm b/ucw/perl/UCW/Configure/Paths.pm index 82ee74bf..bd22ca3d 100644 --- a/ucw/perl/UCW/Configure/Paths.pm +++ b/ucw/perl/UCW/Configure/Paths.pm @@ -39,6 +39,7 @@ Set("INSTALL_LOG_DIR", '$(INSTALL_VAR_PREFIX)log'); Set("INSTALL_STATE_DIR", '$(INSTALL_VAR_PREFIX)lib'); Set("INSTALL_RUN_DIR", '$(INSTALL_VAR_PREFIX)run'); Set("INSTALL_DOC_DIR", '$(INSTALL_USR_PREFIX)share/doc'); +Set("INSTALL_PERL_DIR", '$(INSTALL_LIB_DIR)/perl5'); # Remember PKG_CONFIG_PATH used for building, so that it will be propagated to # pkg-config's run locally in the makefiles.