[PC-BSD Commits] r820 - pbibuild/modules/thunderbird

svn at pcbsd.org svn at pcbsd.org
Fri Nov 2 12:41:00 PST 2007


Author: kris
Date: 2007-11-02 13:41:00 -0700 (Fri, 02 Nov 2007)
New Revision: 820

Modified:
   pbibuild/modules/thunderbird/build.sh
Log:

Fix some build options for thunderbird, and remove the -p flag from the 
startup script, since its used for profiles in the binary



Modified: pbibuild/modules/thunderbird/build.sh
===================================================================
--- pbibuild/modules/thunderbird/build.sh	2007-11-02 17:39:07 UTC (rev 819)
+++ pbibuild/modules/thunderbird/build.sh	2007-11-02 20:41:00 UTC (rev 820)
@@ -19,7 +19,7 @@
   echo $line | grep '^moz_libdir=' >/dev/null 2>/dev/null 
   if [ "$?" = "0" ]
   then
-    echo "moz_libdir=\"/Programs/Thunderbird${PORTVER}/autolibs/thunderbird\"" >>/tmp/ff-fixed
+    echo "moz_libdir=\"/Programs/Thunderbird${PORTVER}/autolibs/thunderbird\"" >>/tmp/t-fixed
   else
     echo "${line}" >> /tmp/t-fixed 
   fi
@@ -29,6 +29,10 @@
 cp /tmp/t-fixed ${PBIDIR}/bin/thunderbird
 chmod 755 ${PBIDIR}/bin/thunderbird
 
+# remove the -p line in the thunderbird file
+sed -e "s,-p |,,g" ${PBIDIR}/bin/thunderbird > /tmp/t-fixed
+mv /tmp/t-fixed ${PBIDIR}/bin/thunderbird
+chmod 755 ${PBIDIR}/bin/thunderbird
 
 # Save the right version number in the removepbi.sh script
 sed -e "s,CHANGEME,Thunderbird${PORTVER},g" ${PBIDIR}/scripts/removepbi.sh > /tmp/removepbi.sh



More information about the Commits mailing list