[csw-devel] SF.net SVN: gar:[13989] csw/mgar/pkg/perl/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Mon Mar 28 18:21:26 CEST 2011
Revision: 13989
http://gar.svn.sourceforge.net/gar/?rev=13989&view=rev
Author: dmichelsen
Date: 2011-03-28 16:21:26 +0000 (Mon, 28 Mar 2011)
Log Message:
-----------
perl: Add CSWperl.cswperlincpath
Modified Paths:
--------------
csw/mgar/pkg/perl/trunk/Makefile
Modified: csw/mgar/pkg/perl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/perl/trunk/Makefile 2011-03-28 16:06:11 UTC (rev 13988)
+++ csw/mgar/pkg/perl/trunk/Makefile 2011-03-28 16:21:26 UTC (rev 13989)
@@ -129,6 +129,10 @@
# Do not exclude static libs as at least DynaLoader.a is needed for XS compilation
MERGE_EXCLUDE_STATICLIBS =
+# This is for the communication with checkpkg. These pathes are searched for modules
+# when resolving dependencies.
+PROTOTYPE_FILTER_CSWperl = ( cat; echo "i cswperlincpath=CSWperl.cswperlincpath")
+
# Splitting of a separate libperl.so requires more work and careful planning.
# Override for now.
CHECKPKG_OVERRIDES_CSWperl += shared-lib-package-contains-so-symlink|file=/opt/csw/lib/libperl.so
@@ -188,6 +192,10 @@
" Config.pm Config_heavy.pl )
@$(MAKECOOKIE)
+POST_TARGETS += CSWperl.cswperlincpath
+CSWperl.cswperlincpath:
+ LD_LIBRARY_PATH=$(WORKSRC) $(WORKSRC)/perl -I./lib -e 'print "$$_\n" foreach(@INC)' >$(WORKDIR_GLOBAL)/CSWperl.cswperlincpath
+
# Invoke post-install targets
post-install-modulated: $(POST_TARGETS)
@$(MAKECOOKIE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list