Bug 67184 - security/drweb incorrectly specifies dependency on compat4x
Summary: security/drweb incorrectly specifies dependency on compat4x
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 17:00 UTC by Oleg Sharoiko
Modified: 2004-05-25 19:34 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Sharoiko 2004-05-25 17:00:37 UTC
	security/drweb specifies dependency on c.4:${PORTSDIR}/misc/compat4x
	c.4 always exists in FreeBSD 4.x thus misc/compat4x is never built
	and installed on FreeBSD 4.x, but after installtion of security/drweb
	compat4x is listed in +CONTENTS which create inconsistency when
	portupgrade is used

How-To-Repeat: 	on FreeBSD 4.x
	cd /usr/ports/security/drweb
	make
	make install
	grep compat /var/db/pkg/drweb-4.31.4/+CONTENTS
Comment 1 Serge Negodyuck 2004-05-25 17:20:08 UTC
And where are your patches? :-)
The idea (not mine, but author of PR: ports/58998) was probably to make 
this port compatible with freebsd 3.x Or may be he just have forgotten 
to remove LIB_DEPENDS line.

Anyway I have no FreeBSD 3.x box and for my mind it is not 
reasonable to support 3.x branch anymore. 

Please, apply following patch.

--- Makefile.orig	Tue May 25 19:11:18 2004
+++ Makefile	Tue May 25 19:12:05 2004
@@ -21,7 +21,6 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 500000
-LIB_DEPENDS+=	c.4:${PORTSDIR}/misc/compat4x
 DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd4
 .else
 DISTNAME=	${PORTNAME}-${PORTVERSION}-freebsd5
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-05-25 19:33:53 UTC
State Changed
From-To: open->closed

Patch from maintainer committed.