I's useful (as I can see ;-) to explicitly mention dependencies to extenal libraries. Here is proposed patch. How-To-Repeat: N/A (not really a problem). Or, take a look at /usr/ports/security/gnupg/Makefile
On Sat, 20 Jul 2002 FreeBSD-gnats-submit@FreeBSD.org wrote: Actually, I suppose the name of the package should be changed to reflect libraries used. Modified patch follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/gnupg/Makefile,v retrieving revision 1.44 diff -u -r1.44 Makefile --- Makefile 27 May 2002 23:16:06 -0000 1.44 +++ Makefile 20 Jul 2002 18:21:06 -0000 @@ -28,11 +28,13 @@ .include <bsd.port.pre.mk> -.if exists(${PREFIX}/lib/libgdbm.so) +.if defined(WITH_GDBM) || exists(${PREFIX}/lib/libgdbm.so) LIB_DEPENDS+= gdbm.2:${PORTSDIR}/databases/gdbm +PKGNAMESUFFIX+= -gdbm .endif -.if exists(${PREFIX}/lib/libiconv.so) +.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so) LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv +PKGNAMESUFFIX+= -iconv .endif post-install:
Responsible Changed From-To: freebsd-ports->kuriyama over to maintainer
State Changed From-To: open->closed Committed, thanks!