Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 12:49:12 GMT
From:      Frank Wall <fw@moov.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179768: [PATCH] databases/mtop: add missing RUN_DEPENDS
Message-ID:  <201306201249.r5KCnCsU095933@oldred.freebsd.org>
Resent-Message-ID: <201306201250.r5KCo2gf027672@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179768
>Category:       ports
>Synopsis:       [PATCH] databases/mtop: add missing RUN_DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 20 12:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Frank Wall
>Release:        9.1-RELEASE-p3
>Organization:
>Environment:
FreeBSD X 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
the port databases/mtop does not spefiy RUN_DEPENDS, although it requires some perl modules to run:

$ mtop
Can't locate Curses.pm in @INC (@INC contains: /usr/local/lib/perl5/5.14.2/BSDPAN /usr/local/lib/perl5/site_perl/5.14.2/mach /usr/local/lib/perl5/site_perl/5.14.2 /usr/local/lib/perl5/5.14.2/mach /usr/local/lib/perl5/5.14.2 .) at /usr/local/bin/mtop line 414.
BEGIN failed--compilation aborted at /usr/local/bin/mtop line 414.


Trim headers while here.
>How-To-Repeat:
try to tun "mtop" without having the BUILD_DEPENDS installed
>Fix:
apply the patch

Patch attached with submission follows:

--- databases/mtop/Makefile.orig	2012-11-17 06:55:11.000000000 +0100
+++ databases/mtop/Makefile	2013-06-20 13:41:05.000000000 +0200
@@ -1,10 +1,4 @@
-# ex:ts=8
-# Ports collection makefile for:	mtop
-# Date created:			Dec 17, 2003
-# Whom:	      			ijliao
-#
-# $FreeBSD: ports/databases/mtop/Makefile,v 1.9 2012/11/17 05:55:11 svnexp Exp $
-#
+# $FreeBSD$
 
 PORTNAME=	mtop
 PORTVERSION=	0.6.6
@@ -19,6 +13,8 @@
 		p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
 		p5-Net>=0:${PORTSDIR}/net/p5-Net
 
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
 PERL_CONFIGURE=	yes
 
 MAN1=	mkill.1 mtop.1


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306201249.r5KCnCsU095933>