"/usr/bin" \
"/bin"
+# -----------------------------------------------------------------------------
+# The PKG_CONFIG_PATH environment variable to be set during the
+# build. (Default: empty)
+#
+setPath PKG_CONFIG_PATH \
+ "/usr/pkg/bin"
+
# -----------------------------------------------------------------------------
# The extra arguments to be passed to "./configure".
#
done
esac
- # THINKME: Special case for PATH: we prepend "$prefix/bin" to it.
- if [[ $var = "PATH" ]]; then
- PATH="$prefix/bin:$PATH"
- fi
+ case "$var" in
+ "PATH")
+ # THINKME: Special case for PATH: we prepend "$prefix/bin"
+ # to it.
+ PATH="$prefix/bin:$PATH";;
+ "PKG_CONFIG_PATH")
+ # THINKME: Special case for PKG_CONFIG_PATH: we prepend
+ # "$prefix/lib/pkgconfig" to it.
+ PKG_CONFIG_PATH="$prefix/lib/pkgconfig";;
+ *)
+ ;;
+ esac
}