Peel and dice the onions and sauté in hot butter. Dice the bacon, add and sauté. Stir in the white wine and let everything simmer for about 5 min. Add the tomatoes and simmer for another 15 min.
Cook the pasta according to package directions until al dente. Season the sauce with basil.
Serve together with the pasta.