summaryrefslogtreecommitdiffstats
path: root/www/mozilla
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-26 13:27:06 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-26 13:27:06 +0800
commit5841cc3891cef79c4e658250568f5c5fe9397d4e (patch)
treefa28ab7acdc45f1f36ea9289923bd022526dfc57 /www/mozilla
parentd027eea0fa068663203cda4eabf8eb8c77f50c2d (diff)
downloadmarcuscom-ports-5841cc3891cef79c4e658250568f5c5fe9397d4e.tar.gz
marcuscom-ports-5841cc3891cef79c4e658250568f5c5fe9397d4e.tar.zst
marcuscom-ports-5841cc3891cef79c4e658250568f5c5fe9397d4e.zip
- Extend pre-everything to print a warning if no match is found
in WITH_GECKO and USE_GECKO git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5219 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/bsd.gecko.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/www/mozilla/bsd.gecko.mk b/www/mozilla/bsd.gecko.mk
index c0f5fa018..4804b40df 100644
--- a/www/mozilla/bsd.gecko.mk
+++ b/www/mozilla/bsd.gecko.mk
@@ -2,7 +2,7 @@
# ex:ts=4
#
# $FreeBSD$
-# $MCom: ports/Mk/bsd.mozilla.mk,v 1.20 2005/11/26 00:06:25 ahze Exp $
+# $MCom: ports/www/mozilla/bsd.gecko.mk,v 1.1 2005/11/26 05:11:24 ahze Exp $
#
# 4 column tabs prevent hair loss and tooth decay!
@@ -59,6 +59,7 @@ GOOD_USE_GECKO+= ${badgecko}
.endfor
.undef GECKO_FALLTHROUGH
+.undef _FOUND_WITH_GECKO
# Figure out which mozilla to use and weed out the bad ones
.if defined(WITH_GECKO) && defined(GOOD_USE_GECKO)
. for badgecko in ${WITH_GECKO}
@@ -71,6 +72,7 @@ GOOD_WITH_GECKO+= ${badgecko}
. if !defined(GECKO_FALLTHROUGH)
GECKO= ${gecko}
GECKO_FALLTHROUGH= ${TRUE}
+_FOUND_WITH_GECKO= ${TRUE}
. endif
. endfor
. endif
@@ -102,8 +104,15 @@ pre-everything:: _gecko-pre-everything
_gecko-pre-everything::
@${ECHO_CMD} ""
+.if !defined(_FOUND_WITH_GECKO) && defined(WITH_GECKO)
+ @${ECHO_CMD} " Warning: ${PORTNAME} does not support any gecko you"
+ @${ECHO_CMD} " listed in WITH_GECKO=${WITH_GECKO}. ${GECKO} will be used"
+ @${ECHO_CMD} " for gecko support, but you can change by using one of"
+ @${ECHO_CMD} " the following values:"
+.else
@${ECHO_CMD} " ${PORTNAME} is using ${GECKO} for gecko support but you can"
@${ECHO_CMD} " change by defining WITH_GECKO to the following values:"
+.endif
@${ECHO_CMD} ""
.for gecko in ${GOOD_USE_GECKO}
@${ECHO_CMD} " ${gecko} "