[csw-devel] SF.net SVN: gar:[19903] csw/mgar/pkg/perl/trunk/Makefile_5.16. 2_32+64b_privlib
claudio_sf at users.sourceforge.net
claudio_sf at users.sourceforge.net
Mon Dec 17 22:22:59 CET 2012
Revision: 19903
http://gar.svn.sourceforge.net/gar/?rev=19903&view=rev
Author: claudio_sf
Date: 2012-12-17 21:22:58 +0000 (Mon, 17 Dec 2012)
Log Message:
-----------
/home/claudio/opencsw/perl/trunk: pkg obsoletes
Modified Paths:
--------------
csw/mgar/pkg/perl/trunk/Makefile_5.16.2_32+64b_privlib
Modified: csw/mgar/pkg/perl/trunk/Makefile_5.16.2_32+64b_privlib
===================================================================
--- csw/mgar/pkg/perl/trunk/Makefile_5.16.2_32+64b_privlib 2012-12-17 19:39:50 UTC (rev 19902)
+++ csw/mgar/pkg/perl/trunk/Makefile_5.16.2_32+64b_privlib 2012-12-17 21:22:58 UTC (rev 19903)
@@ -44,6 +44,8 @@
CHECKPKG_OVERRIDES_CSWperldoc += file-with-bad-content
CHECKPKG_OVERRIDES_CSWperldoc += surplus-dependency|CSWperl
CHECKPKG_OVERRIDES_CSWperl += binary-architecture-does-not-match-placement
+OBSOLETED_BY_CSWperl += CSWpm-module-build
+OBSOLETED_BY_CSWperl += CSWpm-json-pp
# Core module updates
# Not used at the moment, leave one as example
@@ -199,39 +201,32 @@
# How to configure Perl
#configure-perl: CONFIGURE_EXPORTS = PATH LD_OPTIONS
-#configure-perl: ARGS-64 = -dusedtrace -Duse64bitall
configure-perl:
(cd $(WORKSRC) ; $(CONFIGURE_ENV) ./Configure $(CONFIGURE_ARGS) -ders)
- #cd $(WORKSRC) && ./Configure -ders -Dusethreads -Duselongdouble -Dinc_version_list=none $(ARGS-$(GAROSREL)) -Dprefix=$(prefix) -Dsed=/usr/bin/sed -Duseshrplib -Dcf_by='Claudio_Ramirez' -Dcf_email=claudio.ramirez at smals.be
- @# 64 bit: -Duse64bitall
@$(MAKECOOKIE)
build-perl: BUILD_EXPORTS = LD_OPTIONS
build-perl:
@echo " ==> Running make in $*"
- @#cd $* && $(BUILD_ENV) $(MAKE) $(PARALLELMFLAGS) $(foreach TTT,$(BUILD_OVERRIDE_VARS),$(TTT)="$(BUILD_OVERRIDE_VAR_$(TTT))") $(foreach TTT,$(BUILD_OVERRIDE_DIRS),$(TTT)="$($(TTT))") -C $(OBJDIR) $(BUILD_ARGS)
cd $(WORKSRC) && $(BUILD_ENV) dmake
@$(MAKECOOKIE)
test-perl:
@echo " ==> Running make $(TEST_TARGET) in $*"
- @#cd $* && $(TEST_ENV) $(MAKE) $(PARALLELMFLAGS) $(foreach TTT,$(TEST_OVERRIDE_VARS),$(TTT)="$(TEST_OVERRIDE_VAR_$(TTT))") $(foreach TTT,$(TEST_OVERRIDE_DIRS),$(TTT)="$($(TTT))") -C $(OBJDIR) $(TEST_ARGS) $(TEST_TARGET)
- #cd $(WORKSRC) && if [ -d .git ] ; then mv .git .mgar-git ; fi && LD_LIBRARY_PATH_64=`pwd`:$(prefix)/bdb48/lib/$(MEMORYMODEL) gmake test && mv .mgar-git .git
- #cd $(WORKSRC) && if [ -d .git ] ; then mv .git .mgar-git ; fi && gmake test && mv .mgar-git .git
- gmake test
+ cd $(WORKSRC) && gmake test
@$(MAKECOOKIE)
-# Make links to libperl
+# Make links to libperl and minor-major lib dirs
POST_TARGETS += syslinks
-#LIB_PATH = $(libdir)/perl/$(VERSION)/CORE
syslinks:
- @( cd $(DESTDIR)$(libdir) ; \
- ln -s libperl.so libperl.so.$(VERSION) ; \
- ln -s libperl.so libperl.so.$(VERSION_MAJOR))
- @( cd $(DESTDIR)$(libdir)/perl ; \
- ln -s $(VERSION_MAJOR) $(VERSION))
- @( cd $(DESTDIR)$(datadir)/perl ; \
- ln -s $(VERSION_MAJOR) $(VERSION))
+ @echo "Creating links to libperl and minor-major lib dirs"
+ cd $(DESTDIR)$(libdir) && \
+ ln -s libperl.so libperl.so.$(VERSION) && \
+ ln -s libperl.so libperl.so.$(VERSION_MAJOR) && \
+ cd $(DESTDIR)$(libdir)/perl && \
+ ln -s $(VERSION_MAJOR) $(VERSION)) && \
+ cd $(DESTDIR)$(datadir)/perl && \
+ ln -s $(VERSION_MAJOR) $(VERSION)
@$(MAKECOOKIE)
# Remove build paths from Config
@@ -262,5 +257,5 @@
# 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)
+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