ae69000001
* arduino and antiword is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
50 lines
1.9 KiB
Diff
50 lines
1.9 KiB
Diff
$NetBSD: patch-aa,v 1.2 2006/11/02 18:17:22 joerg Exp $
|
|
|
|
--- a/Makefile.in 1999-01-05 13:27:16.000000000 +0000
|
|
+++ b/Makefile.in
|
|
@@ -137,36 +137,32 @@ installcheck: all install
|
|
cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
|
|
|
|
installdirs:
|
|
- $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
|
|
+ $(SHELL) ${srcdir}/mkinstalldirs ${DESTDIR}$(bindir) ${DESTDIR}$(infodir) ${DESTDIR}$(acdatadir)
|
|
|
|
install: all $(M4FILES) acconfig.h installdirs install-info
|
|
for p in $(ASCRIPTS); do \
|
|
- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
+ $(INSTALL) $$p ${DESTDIR}$(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
done
|
|
for i in $(M4FROZEN); do \
|
|
- $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
|
|
+ $(INSTALL_DATA) $$i ${DESTDIR}$(acdatadir)/$$i; \
|
|
done
|
|
for i in $(M4FILES) acconfig.h; do \
|
|
- $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
|
|
+ $(INSTALL_DATA) $(srcdir)/$$i ${DESTDIR}$(acdatadir)/$$i; \
|
|
done
|
|
-if test -f autoscan; then \
|
|
- $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
|
|
+ $(INSTALL) autoscan ${DESTDIR}$(bindir)/`echo autoscan|sed '$(transform)'`; \
|
|
for i in acfunctions acheaders acidentifiers acprograms \
|
|
- acmakevars; do \
|
|
- $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
|
|
+ acmakevars config.guess config.sub; do \
|
|
+ $(INSTALL_DATA) $(srcdir)/$$i ${DESTDIR}$(acdatadir)/$$i; \
|
|
done; \
|
|
else :; fi
|
|
|
|
# Don't cd, to avoid breaking install-sh references.
|
|
install-info: info installdirs
|
|
if test -f autoconf.info; then \
|
|
- for i in *.info*; do \
|
|
- $(INSTALL_DATA) $$i $(infodir)/$$i; \
|
|
- done; \
|
|
+ $(INSTALL_DATA) autoconf.info ${DESTDIR}$(infodir)/autoconf213.info; \
|
|
else \
|
|
- for i in $(srcdir)/*.info*; do \
|
|
- $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
|
|
- done; \
|
|
+ $(INSTALL_DATA) $(srcdir)/autoconf.info ${DESTDIR}$(infodir)/autoconf213.info; \
|
|
fi
|
|
|
|
uninstall:
|