|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|