openbsd-ports/textproc/gdiff/patches/patch-m4_Makefile_in

21 lines
726 B
Plaintext

$OpenBSD: patch-m4_Makefile_in,v 1.2 2004/08/11 20:55:50 naddy Exp $
--- m4/Makefile.in.orig Fri Apr 5 15:19:17 2002
+++ m4/Makefile.in Wed Aug 11 12:09:52 2004
@@ -257,14 +257,14 @@ uninstall-am: uninstall-info-am
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' @); \
(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.