Date: Wed, 29 Oct 2003 22:39:49 +0200 From: Ion-Mihai Tetcu <itetcu@apropo.ro> To: Adam Weinberger <adamw@FreeBSD.org> Cc: ports@freebsd.org Subject: Re: pre-patch / gmake question Message-ID: <20031029223949.5c2a4bea.itetcu@apropo.ro> In-Reply-To: <20031029201506.GX96543@toxic.magnesium.net> References: <20031029215410.3cbea753.itetcu@apropo.ro> <20031029201506.GX96543@toxic.magnesium.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29 Oct 2003 15:15:06 -0500 Adam Weinberger <adamw@FreeBSD.org> wrote: > >> (10.29.2003 @ 1454 PST): Ion-Mihai Tetcu said, in 0.7K: << > > If for some reason I need to do something like: > > > > pre-patch: > > (cd ${WRKDIR}/ && @${GMAKE} -f Makefile.dist) > > > > is the above ok or are better way to do it ? > > If I set USE_GMAKE=YES it seems it doesn't get set for the > > pre-patch target. > >> end of "pre-patch / gmake question" from Ion-Mihai Tetcu << > > In general, use post-patch. bsd.gnome.mk takes over pre-patch in > many circumstances. Thanks Adam. So: post-patch: (cd ${WRKDIR}/ && ${GMAKE} -f Makefile.dist) @${REINPLACE_CMD} -e 's/-O2//g; s/-pedantic //g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} is OK ? > There are other problems with your example, > especially the misplaced @-sign. Just a typo in the email. What are the others ? -- IOnut FreeBSD unregistered ;) user
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031029223949.5c2a4bea.itetcu>