Changeset 2688

Show
Ignore:
Timestamp:
06/04/07 13:20:00 (2 years ago)
Author:
tg
Message:

bring over Marc Espie's autotoucher from MirPorts? Framework

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/pkg-bottom.mk

    r2620 r2688  
    1616#   making the Makefiles of the packages more clear 
    1717 
     18ifneq ($(filter gnu,${CONFIGURE_STYLE}),) 
     19REORDER_DEPENDENCIES+=  ${TOPDIR}/scripts/automake.dep 
     20endif 
     21 
     22REORDER_DEPENDENCIES?= 
     23 
    1824#--- configure 
    1925pre-configure: 
     
    2127post-configure: 
    2228${_CONFIGURE_COOKIE}: ${_PATCH_COOKIE} 
     29ifneq ($(strip ${REORDER_DEPENDENCIES}),) 
     30        @sed -e '/^#/d' ${REORDER_DEPENDENCIES} | \ 
     31            tsort -r | while read f; do \ 
     32                cd ${WRKSRC}; \ 
     33                case $$f in \ 
     34                /*) \ 
     35                        find . -name "$${f#/}" -print | while read i; do \ 
     36                                echo "Touching $$i"; touch "$$i"; \ 
     37                        done;; \ 
     38                *) \ 
     39                        if test -e "$$f" ; then \ 
     40                                echo "Touching $$f"; touch "$$f"; \ 
     41                        fi;; \ 
     42                esac; \ 
     43        done 
     44endif 
    2345        mkdir -p ${WRKBUILD} 
    2446        @${MAKE} pre-configure 
  • trunk/freewrt/package/mysql/Makefile

    r2683 r2688  
    4444                        --without-readline 
    4545 
    46 pre-configure: 
    47         (cd ${WRKBUILD}; \ 
    48                 touch configure.in; \ 
    49                 touch aclocal.m4; \ 
    50                 touch Makefile.in; \ 
    51                 touch config.h.in; \ 
    52                 touch configure; \ 
    53         ) 
    54  
    5546do-build: 
    5647        ${MAKE} -C "${WRKBUILD}" \