freebsd-ports/deskutils/xmdiary/scripts/noextradepend
Mikhail Teterin 946358e2fa Invoke the scripts with an explicit sh -- because the files may
not be executable (an artifact of a switch to svn?)

While here, fix compiler warnings and turn on MAKE_JOBS_SAFE.
2013-03-28 02:10:57 +00:00

15 lines
248 B
Bash

#!/bin/sh
for f in `find $1 -type f -name Imakefile -print | xargs grep -l Library.tmpl`
do
patch -p << END_OF_PATCH
--- $f.orig
+++ $f
@@ -30,1 +30,1 @@
-DependTarget()
+/* DependTarget() -- Library.tmpl contains this now */
END_OF_PATCH
done