Bug 174352 - print/cups-base : `make package` is broken with WITH_MDNSRESPONDER
Summary: print/cups-base : `make package` is broken with WITH_MDNSRESPONDER
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-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-11 02:10 UTC by geraud
Modified: 2012-12-28 15:50 UTC (History)
0 users

See Also:


Attachments
file.diff (615 bytes, patch)
2012-12-11 02:10 UTC, geraud
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description geraud 2012-12-11 02:10:00 UTC
With the latest commit, and the MDNSRESPONDER option set, the port will not install the libexec/cups/backend/mdns file.

Fix: see attached patch

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/print/cups-base;
make config        # check  MDNSRESPONDER
make package install
Comment 1 dfilter service freebsd_committer freebsd_triage 2012-12-28 15:42:19 UTC
Author: pawel
Date: Fri Dec 28 15:42:11 2012
New Revision: 309572
URL: http://svnweb.freebsd.org/changeset/ports/309572

Log:
  Fix file installation when MDNSRESPONDER=on
  
  PR:		ports/174352 (based on)
  Submitted by:	Geraud CONTINSOUZAS <geraud@gcu.info>

Modified:
  head/print/cups-base/Makefile

Modified: head/print/cups-base/Makefile
==============================================================================
--- head/print/cups-base/Makefile	Fri Dec 28 14:21:00 2012	(r309571)
+++ head/print/cups-base/Makefile	Fri Dec 28 15:42:11 2012	(r309572)
@@ -290,6 +290,10 @@ post-patch:
 .if ${ARCH} == "amd64"
 	@${REINPLACE_CMD} -e 's|@PIEFLAGS@||' ${WRKSRC}/Makedefs.in
 .endif
+.if ${PORT_OPTIONS:MMDNSRESPONDER}
+	@${REINPLACE_CMD} -e 's|Darwin|FreeBSD|' \
+		${WRKSRC}/backend/Makefile
+.endif
 .if  ${PORT_OPTIONS:MXDG_OPEN}
 	@${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop.in
 .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"
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2012-12-28 15:42:20 UTC
State Changed
From-To: open->closed

Committed. Thanks!