Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2012 19:15:42 +0200 (CEST)
From:      Romain Tartiere <romain@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168204: [patch] misc/shared-mime-info: Missing build dependency.
Message-ID:  <20120521171542.A35533193E@marvin.blogreen.org>
Resent-Message-ID: <201205211720.q4LHK1JX008558@freefall.freebsd.org>

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

>Number:         168204
>Category:       ports
>Synopsis:       [patch] misc/shared-mime-info: Missing build dependency.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 21 17:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Romain Tartiere
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD marvin.blogreen.org 9.0-STABLE FreeBSD 9.0-STABLE #28 r235268: Fri May 11 16:57:36 CEST 2012 root@marvin.blogreen.org:/usr/obj/usr/src/sys/MARVIN amd64


	
>Description:

Trying to build misc/shared-mime-info on my package building system, it failed
at configure step because pkg-config was not present.

>How-To-Repeat:

Try to build misc/shared-mime-info on a system without pkg-config.

>Fix:

Add pkg-config to BUILD_DEPENDS.

--- shared-mime-info.diff begins here ---
--- Makefile.orig	2012-05-21 17:54:37.545706592 +0200
+++ Makefile	2012-05-21 19:10:38.076712053 +0200
@@ -14,6 +14,8 @@
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	A MIME type database from the FreeDesktop project
 
+BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkg-config
+
 USE_XZ=		yes
 GNU_CONFIGURE=	yes
 USE_GETTEXT=	yes
--- shared-mime-info.diff ends here ---


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



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