Date: Fri, 28 Jun 2002 17:12:17 -0700 (PDT) From: Scott Flatman <sf@dsinw.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/39971: ports/comms minor Makefile cleanup Message-ID: <20020628171145.U56764-100000@ivymike.foo.kom>
next in thread | raw e-mail | index | archive | help
>Number: 39971 >Category: ports >Synopsis: ports/comms minor Makefile cleanup >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 28 17:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Scott Flatman >Release: >Organization: >Environment: >Description: hardcoded tool names to Mk/bsd.port.mk variable names ${PERL} -> ${REINPLACE_CMD} >How-To-Repeat: >Fix: --- patch-acfax begins here --- --- Makefile.orig Thu Jun 13 09:45:17 2002 +++ Makefile Fri Jun 28 17:07:33 2002 @@ -18,13 +18,14 @@ WRKSRC= ${WRKDIR}/acfax USE_IMAKE= yes +USE_REINPLACE= yes post-patch: - @${PERL} -pi -e 's|setup_fax\(120, 288|setup_fax(120, 576|' \ + @${REINPLACE_CMD} -e 's|setup_fax\(120, 288|setup_fax(120, 576|' \ ${WRKSRC}/acfax.c - @${PERL} -pi -e 's|ixoc = 288|ixoc = 576|' ${WRKSRC}/fax_funcs.c - @${PERL} -pi -e 's|regex.h|gnuregex.h|' ${WRKSRC}/RegExp.h - @${PERL} -pi -e 's|-lm|-lm -lgnuregex|' ${WRKSRC}/Imakefile + @${REINPLACE_CMD} -e 's|ixoc = 288|ixoc = 576|' ${WRKSRC}/fax_funcs.c + @${REINPLACE_CMD} -e 's|regex.h|gnuregex.h|' ${WRKSRC}/RegExp.h + @${REINPLACE_CMD} -e 's|-lm|-lm -lgnuregex|' ${WRKSRC}/Imakefile post-configure: ${TOUCH} ${WRKSRC}/acfax.man --- patch-acfax ends here --- --- patch-hylafax begins here --- --- Makefile.orig Thu Jun 27 09:28:07 2002 +++ Makefile Fri Jun 28 14:03:20 2002 @@ -75,8 +75,8 @@ .if ${LOCALBASE} != /usr/local post-patch: ${REINPLACE_CMD} -e 's^/usr/local^${LOCALBASE}^g' \ - `find work/hylafax-4.1 -type f -print0 | \ - xargs -0 fgrep -l --mmap /usr/local` + `${FIND} work/hylafax-4.1 -type f -print0 | \ + ${XARGS} -0 fgrep -l --mmap /usr/local` .endif .include <bsd.port.post.mk> --- patch-hylafax ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020628171145.U56764-100000>