diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-01 10:41:33 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-01 10:41:33 +0800 |
commit | 0e207e26835e18b1336a8b7d322b4c19d8d90fc2 (patch) | |
tree | 5aa6342b505c864c8e4ff456d4faf53b40b5b0e8 /www/mozilla | |
parent | e826ddcaa0eaf13667c2e9d8dec390fc91c6e661 (diff) | |
download | marcuscom-ports-0e207e26835e18b1336a8b7d322b4c19d8d90fc2.tar marcuscom-ports-0e207e26835e18b1336a8b7d322b4c19d8d90fc2.tar.gz marcuscom-ports-0e207e26835e18b1336a8b7d322b4c19d8d90fc2.tar.bz2 marcuscom-ports-0e207e26835e18b1336a8b7d322b4c19d8d90fc2.tar.lz marcuscom-ports-0e207e26835e18b1336a8b7d322b4c19d8d90fc2.tar.xz marcuscom-ports-0e207e26835e18b1336a8b7d322b4c19d8d90fc2.tar.zst marcuscom-ports-0e207e26835e18b1336a8b7d322b4c19d8d90fc2.zip |
- Back down to 1.22
some minor problems. Will enable later..
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7451 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/bsd.gecko.mk | 35 |
1 files changed, 12 insertions, 23 deletions
diff --git a/www/mozilla/bsd.gecko.mk b/www/mozilla/bsd.gecko.mk index 4c3f0f1b8..c682dbedb 100644 --- a/www/mozilla/bsd.gecko.mk +++ b/www/mozilla/bsd.gecko.mk @@ -2,7 +2,7 @@ # ex:ts=4 # # $FreeBSD$ -# $MCom: ports/www/mozilla/bsd.gecko.mk,v 1.23 2006/09/21 21:46:19 ahze Exp $ +# $MCom: ports/www/mozilla/bsd.gecko.mk,v 1.22 2006/09/14 13:58:56 ahze Exp $ # # 4 column tabs prevent hair loss and tooth decay! @@ -67,11 +67,12 @@ Gecko_Pre_Include= bsd.gecko.mk # ${WRKSRC}/configure # .endif -.if (${ARCH}!="sparc64" || ${OSVERSION} >= 601101) && ${ARCH}!="ia64" && ${OSVERSION} >= 500000 -_GECKO_ALL= firefox seamonkey xulrunner mozilla firefox-devel flock sunbird thunderbird nvu -.else -_GECKO_ALL= mozilla +.if ${OSVERSION} >= 500000 +.if (${ARCH}!="sparc64" || ${OSVERSION} >= 601101) && ${ARCH}!="ia64" +_GECKO_ALL= firefox nvu seamonkey sunbird thunderbird xulrunner firefox-devel flock +.endif .endif +_GECKO_ALL+= mozilla sunbird_PORTSDIR= deskutils @@ -88,19 +89,15 @@ ${gecko}_PLIST?= ${LOCALBASE}/lib/${gecko}/libgtkembedmoz.so .for badgecko in ${USE_GECKO} . if ${_GECKO_ALL:M${badgecko:C/^([^<->]+).*/\1/}}!="" GOOD_USE_GECKO+= ${badgecko:C/^([^<->]+).*/\1/} -. if exists(${${badgecko}_PLIST}) -INSTALLED_GECKOS+= ${badgecko:C/^([^<->]+).*/\1/} -. endif . endif . if ${_GECKO_ALL:M${badgecko:C/^[^<->]+<->([^<->]+).*/\1/}}!="${badgecko:C/^([^<->]+).*/\1/}" ${badgecko:C/^([^<->]+).*/\1/}_HACK= s:${badgecko:C/^[^<->]+<->([^<->]+).*/\1/}:${badgecko:C/^([^<->]+).*/\1/}:g . endif .endfor +.undef GECKO_FALLTHROUGH .undef _FOUND_WITH_GECKO -# 3 levels of craziness to figure out which gecko to use - -# Level 1, find GECKO via [WITH|USE]_GECKO +# Figure out which gecko to use and weed out the bad ones .if defined(WITH_GECKO) && defined(GOOD_USE_GECKO) . for badgecko in ${WITH_GECKO} . if ${GOOD_USE_GECKO:M${badgecko}}!="" @@ -109,28 +106,20 @@ GOOD_WITH_GECKO+= ${badgecko} . endfor . if defined(GOOD_WITH_GECKO) . for gecko in ${GOOD_WITH_GECKO} -. if !defined(GECKO) +. if !defined(GECKO_FALLTHROUGH) GECKO= ${gecko} +GECKO_FALLTHROUGH= ${TRUE} _FOUND_WITH_GECKO= ${TRUE} . endif . endfor . endif .endif -# Level 2, Use installed gecko -.if !defined(GECKO) && defined(INSTALLED_GECKOS) -. for gecko in ${INSTALLED_GECKOS} -. if !defined(GECKO) -GECKO= ${gecko} -. endif -. endfor -.endif - -# Level 3, Fall back to the first listing in ${USE_GECKO} .if !defined(GECKO) && defined(GOOD_USE_GECKO) . for gecko in ${GOOD_USE_GECKO} -. if !defined(GECKO) +. if !defined(GECKO_FALLTRHOUGH) GECKO= ${gecko} +GECKO_FALLTRHOUGH= ${TRUE} . endif . endfor .endif |