pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/zope Assume under ${WRKSRC} when relative path was...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2d90d0f68756
branches: trunk
changeset: 588603:2d90d0f68756
user: taca <taca%pkgsrc.org@localhost>
date: Sat May 14 02:47:21 2011 +0000
description:
Assume under ${WRKSRC} when relative path was used in REPLACE_PYTHON_DIRS.
diffstat:
www/zope/replace.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r 07a78b2afebc -r 2d90d0f68756 www/zope/replace.mk
--- a/www/zope/replace.mk Sat May 14 02:46:30 2011 +0000
+++ b/www/zope/replace.mk Sat May 14 02:47:21 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.1.1.1 2007/12/18 15:27:23 taca Exp $
+# $NetBSD: replace.mk,v 1.2 2011/05/14 02:47:21 taca Exp $
#
.if !defined(_ZOPE_REPLACE_MK)
@@ -21,8 +21,9 @@
pre-configure: replace-python-dirs
replace-python-dirs:
- ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${REPLACE_PYTHON_DIRS} \
- -type f ${_REPLACE_FILE_FIND_ARGS} -print | \
+ ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC} ; \
+ ${FIND} ${REPLACE_PYTHON_DIRS} \
+ -type f ${_REPLACE_FILE_FIND_ARGS} -print | \
while read f; do \
${SED} -e '1s| *[a-z0-9_/\.-][a-z0-9_/\.-]*/env *||g' \
-e '1s| *[a-z0-9_/\.-]*python.*|${PYTHONBIN}|' $$f \
Home |
Main Index |
Thread Index |
Old Index