summaryrefslogtreecommitdiffstats
path: root/www/mozilla/files/mozconfig-generic.in
Commit message (Collapse)AuthorAgeFilesLines
* -- Marge lots of common mozilla-ports tasks into Makefile.commonahze2005-11-231-58/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o creation of plist (Disabled with NOGECKO_PLIST) o install (Disabled with NOGECKO_INSTALL) o many common post-patch routines - Expand post- pre- targets so ports and Makefile.common can use the same target - Makefile.common supports both ${FILESDIR}/mozconfig.in (if exists) and now has 3 new variables to add opions to .mozconfig [1] Ports can use the following: NOGECKO_INSTALL NOGECKO_PLIST Do not auto-create plist NOMOZCONFIG Use CONFIGURE_ARGS instead of .mozconfig MOZILLA_PLIST_DIRS Listing of directories to create plist and/or install MOZ_PIS_SCRIPTS List scripts listed in ${FILESDIR} to filter through MOZCONFIG_SED and install with mozilla PIS scripts. MOZ_SED_ARGS Add or replace to MOZ_SED_ARGS [1] MOZ_OPTIONS Add more configure arguments to .mozconfig MOZ_MK_OPTIONS Add more make arguments to .mozconfig MOZ_EXPORT Add export variables to .mozconfig if ${FILESDIR}/mozconfig.in exists and NOMOZCONFIG is not defined contents of ${FILESDIR}/mozconfig.in will be filtered through MOZCONFIG_SED and added the the end of .mozconfig I broke the following: o Optional extensions (irc, etc) , need to figure out how to handle this Todo: o Handle .desktop the install of .desktop files and icons o Handle Java plugins o Cleanup/Audit and moving any other common "things" into Makefile.common o (maybe) convert all the ${FILESDIR}/mozconfig.in to MOZ_OPTIONS/EXPORT variables o Add support for ports to set MOZILLA=PORTNAME-devel o Figure out how to get the rest of mozconfig-generic.in to work in MOZ_EXPORT, the following example does not work MOZ_EXPORT=CFLAGS="${CFLAGS}" if treats each flag in CFLAGS as a different flag and you end up with a bunch of export -O2, export -xxx instead of export -O2 -xxx -blah .... o Figure out why MOZ_OPIONS+=--prefix=${FAKEDIR} ends up in .mozconfig as --prefix=/fake instead of --prefix=${WRKDIR}/fake (--prefix is in mozconfig-generic.in for now) o testing testing TESTING git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5182 df743ca5-7f9a-e211-a948-0013205c9059
* - Switch OPTIONS=SMB ... back to only ports that support it.ahze2005-11-151-3/+1
| | | | | | | - Fix build of thunderbird git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5132 df743ca5-7f9a-e211-a948-0013205c9059
* - Add and remove some more common linesahze2005-11-141-5/+2
| | | | git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5124 df743ca5-7f9a-e211-a948-0013205c9059
* - Introducing Makefile.common for mozilla ports.ahze2005-11-141-0/+70
Makefile.common defines common variables and does quite a few common tasks handled by mozilla ports. A generic .mozconfig file is located in files/mozconfig-generic.in which includes common configure knobs and defines. if files/mozconfig.in exists it is included at the end of ${WRKSRC}/.mozconfig after mozconfig-generic.in. As of right now Makefile.common uses pre-configure: to do the common patch work which will allow mozilla ports to still use post-patch and defines. if files/mozconfig.in exists it is included at the end of ${WRKSRC}/.mozconfig after mozconfig-generic.in. As of right now Makefile.common uses pre-configure: to do the common patch work which will allow mozilla ports to still use post-patch for less common things. Changes to mozilla: - Use system nss nspr and libm stuff[obtained from www/firefox] - Convert most things to .mozconfig Todo: - Style cleanup - Find more common things to put in Makefile.common - Import post-* pre-* targets from http://people.freebsd.org/~mezz/diff/firefox.diff git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5120 df743ca5-7f9a-e211-a948-0013205c9059