Bug 177024 - graphics/colord: [PATCH] typo in Makefile
Summary: graphics/colord: [PATCH] typo in Makefile
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: Koop Mast
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-16 15:40 UTC by John Marino
Modified: 2013-03-16 17:40 UTC (History)
0 users

See Also:


Attachments
file.diff (389 bytes, patch)
2013-03-16 15:40 UTC, John Marino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2013-03-16 15:40:00 UTC
There is a typo in graphics/colord makefile regarding port options.  BMAKE will choke on it.

See patch for fix.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-16 15:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kwm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Koop Mast freebsd_committer freebsd_triage 2013-03-16 17:36:58 UTC
State Changed
From-To: open->closed

Committed, thanks! 
While the use of empty() isn't wrong I saw that I mismatched the ( and } in 
the orginal.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-03-16 17:37:05 UTC
Author: kwm
Date: Sat Mar 16 17:36:53 2013
New Revision: 314380
URL: http://svnweb.freebsd.org/changeset/ports/314380

Log:
  Prevert ! instead of empty() and fix a typo.
  
  PR:		ports/177024
  Submitted by:	John Marino <draco@marino.st>

Modified:
  head/graphics/colord/Makefile

Modified: head/graphics/colord/Makefile
==============================================================================
--- head/graphics/colord/Makefile	Sat Mar 16 17:34:10 2013	(r314379)
+++ head/graphics/colord/Makefile	Sat Mar 16 17:36:53 2013	(r314380)
@@ -57,7 +57,7 @@ post-patch:
 		-e 's|-Wmissing-parameter-type||g' \
 		-e 's|LIBS="-lusb-1.0|LIBS="-lusb|g' \
 		${WRKSRC}/configure
-.if empty(PORT_OPTIONS:MMANPAGES}
+.if !${PORT_OPTIONS:MMANPAGES}
 	@${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \
 		s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure
 .endif
_______________________________________________
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"