[csw-devel] SF.net SVN: gar:[19890] csw/mgar/pkg/perl/trunk/Makefile_5.16.2_64b
claudio_sf at users.sourceforge.net
claudio_sf at users.sourceforge.net
Fri Dec 14 17:20:05 CET 2012
Revision: 19890
http://gar.svn.sourceforge.net/gar/?rev=19890&view=rev
Author: claudio_sf
Date: 2012-12-14 16:20:04 +0000 (Fri, 14 Dec 2012)
Log Message:
-----------
/home/claudio/opencsw/perl/trunk: Workaround to add versioning to libperl.so
Modified Paths:
--------------
csw/mgar/pkg/perl/trunk/Makefile_5.16.2_64b
Modified: csw/mgar/pkg/perl/trunk/Makefile_5.16.2_64b
===================================================================
--- csw/mgar/pkg/perl/trunk/Makefile_5.16.2_64b 2012-12-14 15:59:10 UTC (rev 19889)
+++ csw/mgar/pkg/perl/trunk/Makefile_5.16.2_64b 2012-12-14 16:20:04 UTC (rev 19890)
@@ -26,7 +26,7 @@
PACKAGES += CSWperl
SPKG_DESC_CSWperl = $(DESCRIPTION)
#RUNTIME_DEP_PKGS_CSWperl = CSWbdb48 CSWlibgdbm4
-INCOMPATIBLE_PKGS_CSWperl = CSWperlmods CSWpmdigest CSWpmi18nlangtags
+#INCOMPATIBLE_PKGS_CSWperl = CSWperlmods CSWpmdigest CSWpmi18nlangtags
#PACKAGES += CSWperldoc
#SPKG_DESC_CSWperldoc = Perl documentation
@@ -211,18 +211,21 @@
@$(MAKECOOKIE)
# Make links to libperl
-#POST_TARGETS += libperl
-#LIB_MINOR = $(shell echo $(VERSION) | cut -f1-2 -d.)
+POST_TARGETS += libperl
+VERSION_MINOR = $(shell echo $(VERSION) | cut -f1-2 -d.)
#LIB_PATH = $(libdir)/perl/$(VERSION)/CORE
-#libperl:
-# @( cd $(DESTDIR)$(libdir) ; \
+libperl:
+ @( cd $(DESTDIR)$(libdir) ;
+#\
# mv $(DESTDIR)$(LIB_PATH)/libperl.so.$(VERSION) \
# $(DESTDIR)$(libdir) ; \
# chmod 755 $(DESTDIR)$(libdir)/libperl.so.$(VERSION) ; \
# ln -s libperl.so.$(VERSION) libperl.so.$(LIB_MINOR)
# #; \
# #ln -s libperl.so.$(VERSION) libperl.so )
-# @$(MAKECOOKIE)
+ ln -s libperl.so libperl.so.$(VERSION)) \;
+ ln -s libperl.so libperl.so.$(VERSION_MINOR))
+ @$(MAKECOOKIE)
# Remove build paths from Config
#POST_TARGETS += perlconf
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