Bug 184784

Summary: [PATCH] security/broccoli: Unbreak make package without PYTHON
Product: Ports & Packages Reporter: Craig Leres <leres>
Component: Individual Port(s)Assignee: Philippe Audeoud <jadawin>
Status: Closed FIXED    
Severity: Affects Only Me CC: leres
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch.txt none

Description Craig Leres freebsd_committer freebsd_triage 2013-12-15 19:30:00 UTC

How-To-Repeat: 	# bsd.python.mk isn't PREFIX-safe yet.
	mv: rename /home/u2/FreeBSD-current/ports/security/broccoli/work/stage to /home/u2/FreeBSD-current/ports/security/broccoli/work/stage/stage: Invalid argument
	*** Error code 1

	Stop in /home/u2/FreeBSD-current/ports/security/broccoli.
	*** Error code 1

	Stop in /home/u2/FreeBSD-current/ports/security/broccoli.
Comment 1 Philippe Audeoud freebsd_committer freebsd_triage 2013-12-18 15:03:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jadawin

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-18 15:05:29 UTC
Author: jadawin
Date: Wed Dec 18 15:05:22 2013
New Revision: 336837
URL: http://svnweb.freebsd.org/changeset/ports/336837

Log:
  - Unbreak make package without Python
  
  PR:		ports/184784
  Submitted by:	maintainer

Modified:
  head/security/broccoli/Makefile

Modified: head/security/broccoli/Makefile
==============================================================================
--- head/security/broccoli/Makefile	Wed Dec 18 14:35:53 2013	(r336836)
+++ head/security/broccoli/Makefile	Wed Dec 18 15:05:22 2013	(r336837)
@@ -59,7 +59,7 @@ post-install::
 .endif
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc
 	@${MV} ${STAGEDIR}${PREFIX}/etc/broccoli.conf ${STAGEDIR}${PREFIX}/etc/broccoli.conf.example
-.if defined(BRO_PREFIX)
+.if !empty(${PORT_OPTIONS:MPYTHON}) && defined(BRO_PREFIX)	
 	# bsd.python.mk isn't PREFIX-safe yet.
 	@${MV} ${STAGEDIR}${PYTHON_LIBDIR} ${STAGEDIR}${PYTHON_LIBDIR:S/${LOCALBASE}/${PREFIX}/}
 .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 3 Philippe Audeoud freebsd_committer freebsd_triage 2013-12-18 15:05:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!