[csw-devel] SF.net SVN: gar:[5691] csw/mgar/pkg/firefox/branches/firefox3.5-packaging/ Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Jul 28 17:44:05 CEST 2009


Revision: 5691
          http://gar.svn.sourceforge.net/gar/?rev=5691&view=rev
Author:   wahwah
Date:     2009-07-28 15:44:05 +0000 (Tue, 28 Jul 2009)

Log Message:
-----------
firefox-3.5: Adding *-modulated to fix pre-configure and other targets

Modified Paths:
--------------
    csw/mgar/pkg/firefox/branches/firefox3.5-packaging/Makefile

Modified: csw/mgar/pkg/firefox/branches/firefox3.5-packaging/Makefile
===================================================================
--- csw/mgar/pkg/firefox/branches/firefox3.5-packaging/Makefile	2009-07-28 13:46:28 UTC (rev 5690)
+++ csw/mgar/pkg/firefox/branches/firefox3.5-packaging/Makefile	2009-07-28 15:44:05 UTC (rev 5691)
@@ -108,10 +108,10 @@
 	@mv $(WORKROOTDIR)/build-$(firstword $(MODULATIONS))/mozilla* $(WORK_BUILD)
 	@$(MAKECOOKIE)
 
-pre-configure:
+pre-configure-modulated:
 	@cp $(FILEDIR)/.mozconfig  $(WORK_BUILD)/.mozconfig
 
-pre-install:
+pre-install-modulated:
 	( if [ ! -d $(WORK_INSTALL)/opt/csw/bin ] ; then mkdir -p $(WORK_INSTALL)/opt/csw/bin ; fi )
 	( cd $(WORK_INSTALL)/opt/csw/bin && if [ -L firefox ] ; then rm firefox ; fi  && ln -s ../mozilla/firefox/bin/firefox . )
 	( mkdir -p $(WORK_INSTALL)/opt/csw/share/pixmaps )
@@ -121,7 +121,7 @@
 	( mkdir -p $(WORK_INSTALL)/opt/csw/share/gnome/mime-info )
 	( cp $(FILEDIR)/firefox.keys $(WORK_INSTALL)/opt/csw/share/gnome/mime-info/firefox.keys )
 
-post-install:
+post-install-modulated:
 	( gfind $(WORK_INSTALL)/opt/csw -exec bash -c "file {} | ggrep ELF | ggrep -e 'executable' -e 'dynamic lib' | ggrep 'not stripped' && strip {}"  \; )
 	( mv $(WORK_INSTALL)/opt/csw/mozilla/firefox/bin/firefox-config $(WORK_INSTALL)/opt/csw/mozilla/firefox/bin/firefox-config.temp && gsed -e s\_-L$(WORK_INSTALL)/opt/csw/lib\_\_g  $(WORK_INSTALL)/opt/csw/mozilla/firefox/bin/firefox-config.temp > $(WORK_INSTALL)/opt/csw/mozilla/firefox/bin/firefox-config && rm $(WORK_INSTALL)/opt/csw/mozilla/firefox/bin/firefox-config.temp )
 	( mv $(WORK_INSTALL)/opt/csw/mozilla/firefox/lib/pkgconfig/firefox-nspr.pc $(WORK_INSTALL)/opt/csw/mozilla/firefox/lib/pkgconfig/firefox-nspr.pc.temp && gsed -e s\_-L$(WORK_INSTALL)/opt/csw/lib\_\_g  $(WORK_INSTALL)/opt/csw/mozilla/firefox/lib/pkgconfig/firefox-nspr.pc.temp > $(WORK_INSTALL)/opt/csw/mozilla/firefox/lib/pkgconfig/firefox-nspr.pc && rm $(WORK_INSTALL)/opt/csw/mozilla/firefox/lib/pkgconfig/firefox-nspr.pc.temp )


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