From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 15 22:00:15 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 541A71065679 for ; Wed, 15 Sep 2010 22:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B2F878FC12 for ; Wed, 15 Sep 2010 22:00:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8FM06VQ068630 for ; Wed, 15 Sep 2010 22:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8FM06Ng068608; Wed, 15 Sep 2010 22:00:06 GMT (envelope-from gnats) Date: Wed, 15 Sep 2010 22:00:06 GMT Message-Id: <201009152200.o8FM06Ng068608@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Anonymous Cc: Subject: Re: ports/150604: [PATCH] sysutils/superiotool: Fix build with alternate LOCALBASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anonymous List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 22:00:15 -0000 The following reply was made to PR ports/150604; it has been noted by GNATS. From: Anonymous To: Tim Bishop Cc: bug-followup@FreeBSD.org, avg@icyb.net.ua Subject: Re: ports/150604: [PATCH] sysutils/superiotool: Fix build with alternate LOCALBASE Date: Thu, 16 Sep 2010 01:50:11 +0400 Tim Bishop writes: > --- superiotool-20090930.patch begins here --- > Index: Makefile > =================================================================== > RCS file: /u1/freebsd/cvs/ports/sysutils/superiotool/Makefile,v > retrieving revision 1.3 > diff -u -r1.3 Makefile > --- Makefile 1 Apr 2010 05:32:03 -0000 1.3 > +++ Makefile 15 Sep 2010 20:28:58 -0000 > @@ -37,6 +37,7 @@ > > post-patch: > @${REINPLACE_CMD} -e 's#/share/man/#/man/#g' -e 's#-ansi##g' \ > + -e 's#/usr/local#${PREFIX}#g' \ You can use `?=' as well. And it'd be useful in a few more places. --- a.diff begins here --- Index: sysutils/superiotool/Makefile =================================================================== RCS file: /a/.cvsup/ports/sysutils/superiotool/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- sysutils/superiotool/Makefile 1 Apr 2010 05:32:03 -0000 1.3 +++ sysutils/superiotool/Makefile 15 Sep 2010 21:41:03 -0000 @@ -37,6 +37,8 @@ gen-dist: post-patch: @${REINPLACE_CMD} -e 's#/share/man/#/man/#g' -e 's#-ansi##g' \ + -Ee '\#^(CC|INSTALL|PREFIX)#s#=#?=#' \ + -e '\#^CFLAGS#s#=#+=#' -e 's#-O2##' \ ${WRKSRC}/Makefile .include --- a.diff ends here ---