Bug 185120

Summary: [PATCH] security/broccoli: use PYTHONPREFIX_LIBDIR
Product: Ports & Packages Reporter: Craig Leres <leres>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
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-23 02:10:00 UTC
	Use PYTHONPREFIX_LIBDIR as suggested by Marcus von Appen.
	Minor whitespace fix.
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-12-24 09:32:55 UTC
Author: jadawin
Date: Tue Dec 24 09:32:47 2013
New Revision: 337324
URL: http://svnweb.freebsd.org/changeset/ports/337324

Log:
  - use PYTHONPREFIX_LIBDIR
  
  PR:		ports/185120
  Submitted by:	maintainer

Modified:
  head/security/broccoli/Makefile

Modified: head/security/broccoli/Makefile
==============================================================================
--- head/security/broccoli/Makefile	Tue Dec 24 09:30:23 2013	(r337323)
+++ head/security/broccoli/Makefile	Tue Dec 24 09:32:47 2013	(r337324)
@@ -59,9 +59,9 @@ post-install::
 .endif
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc
 	@${MV} ${STAGEDIR}${PREFIX}/etc/broccoli.conf ${STAGEDIR}${PREFIX}/etc/broccoli.conf.example
-.if !empty(${PORT_OPTIONS:MPYTHON}) && 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}/}
+	@${MV} ${STAGEDIR}${PYTHON_LIBDIR} ${STAGEDIR}${PYTHONPREFIX_LIBDIR}
 .endif
 
 .include <bsd.port.mk>
_______________________________________________
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 Philippe Audeoud freebsd_committer freebsd_triage 2013-12-24 09:33:14 UTC
State Changed
From-To: open->closed

Committed. Thanks!