Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2010 22:00:06 GMT
From:      Anonymous <swell.k@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/150604: [PATCH] sysutils/superiotool: Fix build with alternate LOCALBASE
Message-ID:  <201009152200.o8FM06Ng068608@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/150604; it has been noted by GNATS.

From: Anonymous <swell.k@gmail.com>
To: Tim Bishop <tim@bishnet.net>
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 <tim@bishnet.net> 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 <bsd.port.pre.mk>
 --- a.diff ends here ---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009152200.o8FM06Ng068608>