Bug 184784 - [PATCH] security/broccoli: Unbreak make package without PYTHON
Summary: [PATCH] security/broccoli: Unbreak make package without PYTHON
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: Philippe Audeoud
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-15 19:30 UTC by leres
Modified: 2013-12-18 15:10 UTC (History)
1 user (show)

See Also:


Attachments
patch.txt (485 bytes, text/plain)
2013-12-15 19:30 UTC, leres
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description leres 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 2013-12-18 15:03:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jadawin

I'll take it.
Comment 2 dfilter freebsd_committer 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 2013-12-18 15:05:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!