On Wed, Apr 01, 2015 at 11:48:16PM -0400, dan mclaughlin wrote: > if you want the version that the port build will produce do: > > $ (cd /usr/ports/lang/gcc/4.8/ && make _print-packagename) > gcc-4.8.4p2 > > there are alot of options for make that are in bsd.port.mk(5) (although the > one i used above is technically an internal make command). you also might > have better luck asking these questions on ports@ in the future.
Bad puppy. Technically what you're looking for is make show=PKGNAMES which will give you everything in a clean, unchanging way... (especially since ffx is likely to want C++ on top of C. You don't even have to change directory... nausicaa$ SUBDIR=lang/gcc/4.8 make show=PKGNAMES ===> lang/gcc/4.8 gcc-4.8.4p2 g95-4.8.4p1 gobjc-4.8.4p1 g++-4.8.4p1 libstdc++-4.8.4p1 gcj-4.8.4p1 gnat-4.8.4p1