Bug 178984 - graphics/cairo requires pkgconfig to build
Summary: graphics/cairo requires pkgconfig to build
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-gnome mailing list
Depends on:
Reported: 2013-05-26 06:30 UTC by Garrett Wollman
Modified: 2013-05-26 09:50 UTC (History)
0 users

See Also:

file.diff (412 bytes, patch)
2013-05-26 06:30 UTC, Garrett Wollman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Garrett Wollman 2013-05-26 06:30:00 UTC
Building graphics/cairo in poudriere fails with this set of options
because pkgconfig is an undocumented build dependency.

Configure cairo as above and try to build it with "poudriere bulk"
Comment 1 Edwin Groothuis freebsd_committer 2013-05-26 06:30:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-05-26 09:48:36 UTC
Author: kwm
Date: Sun May 26 08:48:28 2013
New Revision: 319100
URL: http://svnweb.freebsd.org/changeset/ports/319100

  Add pkgconfig as build to fix the build with non default options. [1]
  While here convert the pixman depend to USE_XORG, and remove the versions
  in lib_depends.
  PR:		ports/178984
  Submitted by:	Garrett Wollman <wollman@xyz.csail.mit.edu>

  head/graphics/cairo/Makefile   (contents, props changed)

Modified: head/graphics/cairo/Makefile
--- head/graphics/cairo/Makefile	Sun May 26 08:44:40 2013	(r319099)
+++ head/graphics/cairo/Makefile	Sun May 26 08:48:28 2013	(r319100)
@@ -14,15 +14,15 @@ COMMENT=	Vector graphics library with cr
 .if !defined(REFERENCE_PORT)
-LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2 \
+LIB_DEPENDS=	freetype:${PORTSDIR}/print/freetype2 \
 		png15:${PORTSDIR}/graphics/png \
-		fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
-		pixman-1.9:${PORTSDIR}/x11/pixman
+		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
 CONFIGURE_ARGS=	--with-html-dir=${DOCSDIR} \
 		--disable-directfb \
-USES=		pathfix
+USES=		pathfix pkgconfig
+USE_XORG=	pixman
 USE_GNOME=	ltverhack referencehack
svn-ports-all@freebsd.org mailing list
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Koop Mast freebsd_committer 2013-05-26 09:48:55 UTC
State Changed
From-To: open->closed

Committed thanks!