diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-23 05:29:16 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-23 05:29:16 +0800 |
commit | 3da7e283a2e577fdddfb140f1e29e82284988c19 (patch) | |
tree | 09c16082a5b441957e9b5ab7aca9eb85833c2f81 /mail/thunderbird-devel/files/patch-config_autoconf.mk.in | |
parent | cdbb0ea9ca4bc1d9bc192750d8d25de141effd9a (diff) | |
download | marcuscom-ports-3da7e283a2e577fdddfb140f1e29e82284988c19.tar marcuscom-ports-3da7e283a2e577fdddfb140f1e29e82284988c19.tar.gz marcuscom-ports-3da7e283a2e577fdddfb140f1e29e82284988c19.tar.bz2 marcuscom-ports-3da7e283a2e577fdddfb140f1e29e82284988c19.tar.lz marcuscom-ports-3da7e283a2e577fdddfb140f1e29e82284988c19.tar.xz marcuscom-ports-3da7e283a2e577fdddfb140f1e29e82284988c19.tar.zst marcuscom-ports-3da7e283a2e577fdddfb140f1e29e82284988c19.zip |
-- Marge lots of common mozilla-ports tasks into Makefile.common
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
Diffstat (limited to 'mail/thunderbird-devel/files/patch-config_autoconf.mk.in')
-rw-r--r-- | mail/thunderbird-devel/files/patch-config_autoconf.mk.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/thunderbird-devel/files/patch-config_autoconf.mk.in b/mail/thunderbird-devel/files/patch-config_autoconf.mk.in new file mode 100644 index 000000000..29fe7f8fb --- /dev/null +++ b/mail/thunderbird-devel/files/patch-config_autoconf.mk.in @@ -0,0 +1,18 @@ +--- config/autoconf.mk.in.orig Thu Jul 14 00:50:06 2005 ++++ config/autoconf.mk.in Thu Jul 14 00:50:40 2005 +@@ -50,13 +50,13 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ +-includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) ++includedir = @includedir@/%%MOZILLA%% + libdir = @libdir@ + datadir = @datadir@ + mandir = @mandir@ + idldir = @datadir@/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) + +-mozappdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) ++mozappdir = $(libdir)/%%MOZILLA%% + mredir = $(libdir)/mre/mre-$(MOZ_APP_VERSION) + mrelibdir = $(mredir)/lib + |