openbsd-ports/textproc/gdiff/patches/patch-m4_Makefile_in
2003-07-23 21:58:28 +00:00

22 lines
712 B
Plaintext

$OpenBSD: patch-m4_Makefile_in,v 1.1 2003/07/23 21:58:28 naddy Exp $
--- m4/Makefile.in.orig Wed Jul 23 21:01:23 2003
+++ m4/Makefile.in Wed Jul 23 21:01:42 2003
@@ -256,7 +256,7 @@
Makefile.am: Makefile.am.in
rm -f $@ $@t
- sed -n '1,/^##m4-files-begin/p' $< > $@t
+ sed -n '1,/^##m4-files-begin/p' $? > $@t
(((echo EXTRA_DIST =; \
echo " README jm-glibc-io.m4 Makefile.am.in" \
) | tr '\012' @); \
@@ -263,7 +263,7 @@
(echo *.m4|tr ' ' @) ) \
|sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
>> $@t
- sed -n '/^##m4-files-end/,$$p' $< >> $@t
+ sed -n '/^##m4-files-end/,$$p' $? >> $@t
chmod a-w $@t
mv $@t $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.