[csw-devel] SF.net SVN: gar:[8429] csw/mgar/pkg/perl/branches/perl-5.10.1/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Feb 9 10:12:25 CET 2010


Revision: 8429
          http://gar.svn.sourceforge.net/gar/?rev=8429&view=rev
Author:   dmichelsen
Date:     2010-02-09 09:12:25 +0000 (Tue, 09 Feb 2010)

Log Message:
-----------
perl 5.10.1: Modify linkage of libperl.so

Modified Paths:
--------------
    csw/mgar/pkg/perl/branches/perl-5.10.1/Makefile

Modified: csw/mgar/pkg/perl/branches/perl-5.10.1/Makefile
===================================================================
--- csw/mgar/pkg/perl/branches/perl-5.10.1/Makefile	2010-02-09 09:02:34 UTC (rev 8428)
+++ csw/mgar/pkg/perl/branches/perl-5.10.1/Makefile	2010-02-09 09:12:25 UTC (rev 8429)
@@ -22,6 +22,7 @@
 RUNTIME_DEP_PKGS_CSWperl = CSWbdb47 CSWgdbm
 RUNTIME_DEP_PKGS_CSWperldoc = CSWperl
 INCOMPATIBLE_PKGS_CSWperl = CSWperlmods CSWpmdigest CSWpmi18nlangtags
+
 SPKG_DESC_CSWperl = $(DESCRIPTION)
 SPKG_DESC_CSWperldoc = Perl documentation
 
@@ -111,7 +112,7 @@
 EXTRA_INC += $(prefix)/bdb47/include
 
 #EXTRA_LDFLAGS = -lperl
-EXTRA_LDFLAGS = -L/opt/csw/lib/libperl.so
+EXTRA_LDFLAGS = -L$(libdir) -lperl
 
 EXTRA_MERGE_EXCLUDE_FILES = .*\/perllocal.pod
 PKGFILES_CSWperldoc = .*\/pod\/.*\.pod .*\/man\/man.\/.*
@@ -133,6 +134,11 @@
 
 include gar/category.mk
 
+post-extract-modulated:
+	mkdir -p $(WORKSRC)
+	gln -s libperl.so.5.10.1 $(WORKSRC)/libperl.so
+	@$(MAKECOOKIE)
+
 ifneq ($(CORE_UPDATES),)
 POST_TARGETS = install-core-updates
 include files/updatecore.mk


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