ports/163702: Makefile dependency fix, no functional changes

Marco Steinbach coco at executive-computing.de
Thu Dec 29 23:20:10 UTC 2011


>Number:         163702
>Category:       ports
>Synopsis:       Makefile dependency fix, no functional changes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 29 23:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Marco Steinbach
>Release:        
>Organization:
>Environment:
FreeBSD 9.0-PRERELEASE #0 r228927M amd64
>Description:
Port tries to reinstall already installed dependencies, if www/awstats or net/libnss-mysql knobs are selected.

Thanks to Rainer Duffner <rainer at ultra-secure.de> for reporting this.
>How-To-Repeat:
Select apropriate knobs, install, delete, try to reinstall.
>Fix:
Properly check dependencies.  See attached patch.

Patch attached with submission follows:

--- Makefile.orig	2011-12-29 19:49:22.000000000 +0100
+++ Makefile	2011-12-30 00:05:12.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	froxlor
 PORTVERSION=	0.9.22
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils www
 MASTER_SITES=	http://files.froxlor.org/releases/
 
@@ -27,7 +27,7 @@
 OPTIONS=	APACHE "Use Apache (2.2) as http server" On \
 		MYSQL "Use MySQL as database server" On \
 		POSTFIX "Use Postfix as smtp server" On \
-		DKIM "Use Dkim-milter" Off \
+		DKIM "Use OpenDKIM" Off \
 		DOVECOT "Use Dovecot as imap/pop3 server" On \
 		PROFTPD "Use Proftpd-mysql as ftp server (implies MySQL)" On \
 		POWERDNS "Use Powerdns as dns server" Off \
@@ -66,7 +66,7 @@
 .endif
 
 .if defined(WITH_LIBNSS)
-RUN_DEPENDS+=	libnss-mysql:${PORTSDIR}/net/libnss-mysql
+RUN_DEPENDS+=	${LOCALBASE}/lib/nss_mysql.so:${PORTSDIR}/net/libnss-mysql
 .endif
 
 .if !defined(WITHOUT_WEBALIZER)
@@ -74,7 +74,7 @@
 .endif
 
 .if defined(WITH_AWSTATS)
-RUN_DEPENDS+=	awstats:${PORTSDIR}/www/awstats
+RUN_DEPENDS+=	awstats>=6.8:${PORTSDIR}/www/awstats
 .endif
 
 do-install:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list