Bug 40814 - explicit dependencies for security/gnupg
Summary: explicit dependencies for security/gnupg
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-20 19:10 UTC by Dmitry Morozovsky
Modified: 2002-07-21 02:53 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (657 bytes, patch)
2002-07-20 19:10 UTC, Dmitry Morozovsky
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Morozovsky 2002-07-20 19:10:01 UTC
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
Comment 1 Dmitry Morozovsky 2002-07-20 19:21:29 UTC
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:
Comment 2 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-07-20 20:23:02 UTC
Responsible Changed
From-To: freebsd-ports->kuriyama

over to maintainer
Comment 3 Jun Kuriyama freebsd_committer freebsd_triage 2002-07-21 02:52:48 UTC
State Changed
From-To: open->closed

Committed, thanks!