Bug 171093 - graphics/libwpg needs USE_PKGCONFIG, PORTDOCS request
Summary: graphics/libwpg needs USE_PKGCONFIG, PORTDOCS request
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: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-26 21:20 UTC by Doug Barton
Modified: 2012-08-27 05:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Barton freebsd_committer freebsd_triage 2012-08-26 21:20:04 UTC
	Without USE_PKGCONFIG=	build configure fails for the port when
	pkgconf is not installed.

	For PORTDOCS, can you either default it to OFF or make it an OPTION?
	I generally do want portdocs installed, but I don't want doxygen and
	all of its dependencies for this port.

	Thanks,

	Doug
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-26 21:20:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->fluffy

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-08-27 05:23:18 UTC
Author: fluffy
Date: Mon Aug 27 04:23:07 2012
New Revision: 303216
URL: http://svn.freebsd.org/changeset/ports/303216

Log:
  - USE_PKGCONFIG [1]
  - make docs build optional
  
  PR:		171093 [1]
  Submitted by:	dougb

Modified:
  head/graphics/libwpg/Makefile   (contents, props changed)

Modified: head/graphics/libwpg/Makefile
==============================================================================
--- head/graphics/libwpg/Makefile	Mon Aug 27 04:17:09 2012	(r303215)
+++ head/graphics/libwpg/Makefile	Mon Aug 27 04:23:07 2012	(r303216)
@@ -23,11 +23,16 @@ USE_GNOME=	gnomeprefix gnomehack ltverha
 USE_BZIP2=	yes
 USE_PERL5=	yes
 USE_LDCONFIG=	yes
+USE_PKGCONFIG=	yes
 CONFIGURE_ARGS=	--disable-werror
 
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	*
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
 .else
 post-patch:
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Dima Panov freebsd_committer freebsd_triage 2012-08-27 05:23:56 UTC
State Changed
From-To: open->closed

Committed. Thanks!