pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/fort77 Do not run arbitrary text substitutions on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8909f29ae39
branches:  trunk
changeset: 534842:c8909f29ae39
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Nov 02 08:52:38 2007 +0000

description:
Do not run arbitrary text substitutions on files in ${WRKDIR}/.*. This
made the wrapper scripts un-executable, causing the package to fail to
build.

diffstat:

 lang/fort77/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r cf39bf3a1ce6 -r c8909f29ae39 lang/fort77/Makefile
--- a/lang/fort77/Makefile      Fri Nov 02 08:29:17 2007 +0000
+++ b/lang/fort77/Makefile      Fri Nov 02 08:52:38 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/03/04 21:29:54 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2007/11/02 08:52:38 rillig Exp $
 #
 
 DISTNAME=              fort77-1.14a
@@ -26,7 +26,7 @@
 USE_TOOLS+=            perl:run
 
 post-patch:
-       for f in `${FIND} ${WRKDIR} -type f -print | ${XARGS} ${GREP} -l '/usr'`; \
+       for f in `${FIND} ${WRKDIR}/* -type f -print | ${XARGS} ${GREP} -l '/usr'`; \
        do \
          ${SED} -e 's:/usr:'${PREFIX}':g' <$$f >$$f.pdone && \
          ${MV} $$f.pdone $$f; \



Home | Main Index | Thread Index | Old Index