Changeset 1b4c85d in freewrt


Ignore:
Timestamp:
Jul 25, 2006, 3:20:59 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
f266cab
Parents:
86ea442
Message:
  • limit matching of patches to patch-* and *.patch
  • if any patch contains an @@ -0,0 +n,m @@ chunk, touch ${WRKSRC}/.patched-newfiles to be aware of that

git-svn-id: svn://www.freewrt.org/trunk/freewrt@409 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/rules.mk

    r86ea442 r1b4c85d  
    6060        rm -rf ${WRKSRC} ${WRKBUILD}
    6161        ${EXTRACT_CMD}
    62         [ ! -d ./patches ] || $(PREVENT_PATCH) $(PATCH) $(WRKSRC) ./patches
     62        [ ! -d ./patches ] || $(PREVENT_PATCH) $(PATCH) $(WRKSRC) ./patches \
     63            '{patch-*,*.patch}'
     64        [ ! -d ./patches ] || (fgrep -q '@@ -0,0 ' patches/{patch-*,*.patch} \
     65            >/dev/null 2>&1 && touch ${WRKSRC}/.patched-newfiles || :)
    6366        [ ! -d ./extra ] || (cd extra; $(PREVENT_PATCH) pax -rw . ${WRKSRC}/)
    6467        touch $(WRKBUILD)/.prepared
Note: See TracChangeset for help on using the changeset viewer.