From owner-freebsd-ports Fri Apr 28 13:20: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7EDAF37B565 for ; Fri, 28 Apr 2000 13:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA62625; Fri, 28 Apr 2000 13:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 28 Apr 2000 13:20:03 -0700 (PDT) Message-Id: <200004282020.NAA62625@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Bush Doctor Subject: Re: ports/18240: /usr/ports/print/lyx/make doesn't work (patch included) Reply-To: Bush Doctor Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/18240; it has been noted by GNATS. From: Bush Doctor To: Akinori -Aki- MUSHA Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/18240: /usr/ports/print/lyx/make doesn't work (patch included) Date: Fri, 28 Apr 2000 16:15:10 -0400 Out of da blue Akinori -Aki- MUSHA aka (knu@idaemons.org) said: > At Fri, 28 Apr 2000 10:30:03 -0700 (PDT), > Bush Doctor wrote: > > +post-patch: > > + @touch ${WRKSRC}/Makefile.in ${WRKSRC}/intl/Makefile.in > > + @touch ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/mathed/Makefile.in > > + @touch ${WRKSRC}/src/insets/Makefile.in ${WRKSRC}/src/support/Makefile.in > > + @touch ${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/reLyX/Makefile.in > > + @touch ${WRKSRC}/src/config.h.in > > + > > .include > > How about using find(1) ? > > a) @find ${WRKSRC} -name '*.in' | xargs ${TOUCH} > b) @find ${WRKSRC} -name '*.in' -exec ${TOUCH} ';' Ok, you've given me some insight. We want every Makefile.in in ${WRKSRC} along with src/config.h.in. So how about a) @find ${WRKSRC} -name 'Makefile.in' | xargs ${TOUCH} @${TOUCH} ${WRKSRC}/src/config.h.in b) @find ${WRKSRC} -name 'Makefile.in' -exec ${TOUCH} ';' @${TOUCH} ${WRKSRC}/src/config.h.in > > Untested myself, though. I've tested both methods, no problems. It's just a matter of choosing either a or b. > > -- > / > /__ __ > / ) ) ) ) / > Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org > > "We're only at home when we're on the run, on the wing, on the fly" #;^) -- f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng. bush doctor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message