From owner-freebsd-ports Fri Jun 28 17:20:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9491537B400 for ; Fri, 28 Jun 2002 17:20:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF2B743E06 for ; Fri, 28 Jun 2002 17:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5T0K1JU052725 for ; Fri, 28 Jun 2002 17:20:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5T0K1da052724; Fri, 28 Jun 2002 17:20:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 774D537B405 for ; Fri, 28 Jun 2002 17:12:24 -0700 (PDT) Received: from innovations.dsinw.com (ns.dsinw.com [207.149.40.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id B014043E13 for ; Fri, 28 Jun 2002 17:12:23 -0700 (PDT) (envelope-from sf@dsinw.com) Received: from ivymike.foo.kom (03-124.021.popsite.net [192.216.196.124]) by innovations.dsinw.com (8.11.6/8.11.6) with ESMTP id g5T0APm29511 for ; Fri, 28 Jun 2002 17:10:26 -0700 Message-Id: <20020628171145.U56764-100000@ivymike.foo.kom> Date: Fri, 28 Jun 2002 17:12:17 -0700 (PDT) From: Scott Flatman To: freebsd-gnats-submit@FreeBSD.org Subject: ports/39971: ports/comms minor Makefile cleanup Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 --- 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