Bug 185120 - [PATCH] security/broccoli: use PYTHONPREFIX_LIBDIR
Summary: [PATCH] security/broccoli: use PYTHONPREFIX_LIBDIR
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: 2013-12-23 02:10 UTC by Craig Leres
Modified: 2013-12-24 09:40 UTC (History)
1 user (show)

See Also:


Attachments
patch.txt (618 bytes, text/plain)
2013-12-23 02:10 UTC, Craig Leres
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!