aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2007-08-26 22:43:52 +0800
committernetchild <netchild@FreeBSD.org>2007-08-26 22:43:52 +0800
commit2255d75359d24729f51b3075ba056003b1514e6d (patch)
treea17a99f963cfc6b3c70474976c142706d66a6dc9 /Tools
parentcf29c0e894492c1c4e6ac13ec4b092b64967103a (diff)
downloadfreebsd-ports-gnome-2255d75359d24729f51b3075ba056003b1514e6d.tar.gz
freebsd-ports-gnome-2255d75359d24729f51b3075ba056003b1514e6d.tar.zst
freebsd-ports-gnome-2255d75359d24729f51b3075ba056003b1514e6d.zip
- Add USE_FREETYPE.
- Print the portsdir variable in front of the origin for easy copy und paste of the output.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/resolveportsfromlibs.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/scripts/resolveportsfromlibs.sh b/Tools/scripts/resolveportsfromlibs.sh
index 602e66841356..7e7ab638cfd3 100755
--- a/Tools/scripts/resolveportsfromlibs.sh
+++ b/Tools/scripts/resolveportsfromlibs.sh
@@ -123,7 +123,11 @@ for i in $@; do
result="USE_GNOME+=${GNOME}"
fi
+ # USE_xxx exceptions, sorting key is the USE_xxx name
case ${origin} in
+ print/freetype2)
+ result="USE_FREETYPE=yes"
+ ;;
devel/gettext)
result="USE_GETTEXT=yes"
;;
@@ -133,7 +137,7 @@ for i in $@; do
esac
if [ -z "${result}" ]; then
- result="${lib}:${origin}"
+ result="${lib}:\${PORTSDIR}/${origin}"
fi
echo ${result}