aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2007-08-31 00:47:11 +0800
committerAlexander Leidinger <netchild@FreeBSD.org>2007-08-31 00:47:11 +0800
commit142947601fcf11a773a6fa6516732356a3902779 (patch)
tree2cd9884f7903f6208191ec7c0ca531ed221ce12a
parent942f9e9c28651e5dc4830f66349ba63da0e8984c (diff)
downloadfreebsd-ports-gnome-142947601fcf11a773a6fa6516732356a3902779.tar.gz
freebsd-ports-gnome-142947601fcf11a773a6fa6516732356a3902779.tar.zst
freebsd-ports-gnome-142947601fcf11a773a6fa6516732356a3902779.zip
USE_FREETYPE is for v1, not for v2. Use a perfect match in the case statement.
-rwxr-xr-xTools/scripts/resolveportsfromlibs.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/Tools/scripts/resolveportsfromlibs.sh b/Tools/scripts/resolveportsfromlibs.sh
index 7e7ab638cfd3..ca2ba2fe5451 100755
--- a/Tools/scripts/resolveportsfromlibs.sh
+++ b/Tools/scripts/resolveportsfromlibs.sh
@@ -124,14 +124,15 @@ for i in $@; do
fi
# USE_xxx exceptions, sorting key is the USE_xxx name
- case ${origin} in
- print/freetype2)
+ # START and STOP are needed for a perfect match
+ case "START${origin}STOP" in
+ STARTprint/freetypeSTOP)
result="USE_FREETYPE=yes"
;;
- devel/gettext)
+ STARTdevel/gettextSTOP)
result="USE_GETTEXT=yes"
;;
- converters/libiconv)
+ STARTconverters/libiconvSTOP)
result="USE_ICONV=yes"
;;
esac