[csw-devel] SF.net SVN: gar:[8283] csw/mgar/gar/v2/categories/cpan/category.mk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sun Jan 31 22:47:29 CET 2010


Revision: 8283
          http://gar.svn.sourceforge.net/gar/?rev=8283&view=rev
Author:   dmichelsen
Date:     2010-01-31 21:47:28 +0000 (Sun, 31 Jan 2010)

Log Message:
-----------
mGAR v2: Always bind modules to libperl.so

Modified Paths:
--------------
    csw/mgar/gar/v2/categories/cpan/category.mk

Modified: csw/mgar/gar/v2/categories/cpan/category.mk
===================================================================
--- csw/mgar/gar/v2/categories/cpan/category.mk	2010-01-31 21:30:59 UTC (rev 8282)
+++ csw/mgar/gar/v2/categories/cpan/category.mk	2010-01-31 21:47:28 UTC (rev 8283)
@@ -62,10 +62,11 @@
 INSTALL_ENV   += PERL5LIB=$(PERL5LIB)
 
 # Configure a target using Makefile.PL
-PERL_CONFIGURE_ARGS ?= INSTALLDIRS=vendor $(EXTRA_PERL_CONFIGURE_ARGS)
+BIND_LIBPERL ?= LIBS=-lperl
+PERL_CONFIGURE_ARGS ?= INSTALLDIRS=vendor $(BIND_LIBPERL) $(EXTRA_PERL_CONFIGURE_ARGS)
 configure-%/Makefile.PL:
 	@echo " ==> Running Makefile.PL in $*"
-	@( cd $* ; \
+	( cd $* ; \
 	    $(CONFIGURE_ENV) perl Makefile.PL \
 	        $(CONFIGURE_ARGS) $(PERL_CONFIGURE_ARGS) )
 	@$(MAKECOOKIE)
@@ -73,14 +74,14 @@
 PERLBUILD_CONFIGURE_ARGS ?= installdirs=vendor $(EXTRA_PERLBUILD_CONFIGURE_ARGS)
 configure-%/Build.PL:
 	@echo " ==> Running Build.PL in $*"
-	@( cd $* ; \
+	( cd $* ; \
 	    $(CONFIGURE_ENV) perl Build.PL \
 	        $(PERLBUILD_CONFIGURE_ARGS) $(CONFIGURE_ARGS) )
 	@$(MAKECOOKIE)
 
 build-%/Build:
 	@echo " ==> Running Build in $*"
-	@( cd $* ; $(BUILD_ENV) ./Build )
+	( cd $* ; $(BUILD_ENV) ./Build )
 	@$(MAKECOOKIE)
 
 test-%/Build:


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