In a medium bowl, thoroughly combine the eggplant cubes, salt, pepper, garlic powder and olive oil.
Pre-heat oven to 425°F.
Prepare the pasta, per package instructions, to an al dente stage; remove from stove, drain; set aside.
Spread the cubes on a baking tray lined with a baking sheet.
Place in the pre-heated oven and bake for around 25 minutes or until the eggplant cubes turn golden brown and are nicely cooked; remove from oven and set aside.
Heat oil in a pot; add garlic and sauté for a few seconds.
Add onion and sauté until it turns translucent.
Add marinara sauce to the pot.
Put 1/4 cup water into the marina sauce jar, put on the lid and shake.
Pour this water into the pot.
Add Italian seasoning and chili flakes; if required, also add salt.
Let the sauce simmer for around 2 minutes.
Add the roasted eggplant to the sauce and mix.
Finally, add cooked pasta to the sauce and mix everything nicely.
Garnish with chopped fresh herbs and serve.