SHARED_LIBS should be added to Makefile template.
Index: ports/infrastructure/templates/Makefile.template =================================================================== RCS file: /cvs/ports/infrastructure/templates/Makefile.template,v retrieving revision 1.46 diff -u -r1.46 Makefile.template --- ports/infrastructure/templates/Makefile.template 12 Nov 2005 00:07:22 -0000 1.46 +++ ports/infrastructure/templates/Makefile.template 3 Oct 2006 12:57:50 -0000 @@ -24,6 +24,7 @@ DISTNAME= ??? #PKGNAME= ??? #PKGNAME-foo= ??? for multi packages +#SHARED_LIBS= ??? CATEGORIES= ??? #HOMEPAGE= ??? URL