ports/184233: graphics/rgbpaint: Support CC properly

KATO Tsuguru tkato432 at yahoo.com
Sat Dec 28 18:10:01 UTC 2013


The following reply was made to PR ports/184233; it has been noted by GNATS.

From: KATO Tsuguru <tkato432 at yahoo.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/184233: graphics/rgbpaint: Support CC properly
Date: Sun, 29 Dec 2013 03:00:00 +0900

 This is a multi-part message in MIME format.
 
 --Multipart=_Sun__29_Dec_2013_03_00_00_+0900_hgsPUlYX.=DhbVLp
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Remake of the patch against current tree.
 
 --Multipart=_Sun__29_Dec_2013_03_00_00_+0900_hgsPUlYX.=DhbVLp
 Content-Type: text/x-diff;
  name="graphics_rgbpaint.diff"
 Content-Disposition: attachment;
  filename="graphics_rgbpaint.diff"
 Content-Transfer-Encoding: 7bit
 
 diff -urN /usr/ports/graphics/rgbpaint/Makefile graphics/rgbpaint/Makefile
 --- /usr/ports/graphics/rgbpaint/Makefile	2013-12-28 06:19:52.000000000 +0900
 +++ graphics/rgbpaint/Makefile	2013-12-29 00:00:00.000000000 +0900
 @@ -10,6 +10,8 @@
  MAINTAINER=	ports at FreeBSD.org
  COMMENT=	Very basic painting program
  
 +LICENSE=	GPLv2 # (or later)
 +
  USES=		gettext pkgconfig
  USE_BZIP2=	yes
  USE_GNOME=	gtk20
 @@ -20,8 +22,8 @@
  DESKTOP_ENTRIES="rgbPaint" "" "" "${PORTNAME}" "" true
  
  post-patch:
 -	@${REINPLACE_CMD} -e '/if \[/s|==|=|g; s|gcc -Wall|${CC}|' \
 -		${WRKSRC}/configure
 +	@${REINPLACE_CMD} '/if \[/s|==|=|g; /gcc/s|^|#|; \
 +		 /GTK_LIB/s| -s||' ${WRKSRC}/configure
  	@${REINPLACE_CMD} 's|$$(MT_MAN_DEST)|$$(DESTDIR)&|g' \
  		${WRKSRC}/doc/Makefile
  	@${REINPLACE_CMD} 's|$$(MT_LANG_DEST)|$$(DESTDIR)&|g' \
 @@ -29,4 +31,7 @@
  	@${REINPLACE_CMD} 's|$$(BIN_INSTALL)|$$(DESTDIR)&|g' \
  		${WRKSRC}/src/Makefile
  
 +post-install:
 +	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rgbpaint
 +
  .include <bsd.port.mk>
 
 --Multipart=_Sun__29_Dec_2013_03_00_00_+0900_hgsPUlYX.=DhbVLp--


More information about the freebsd-ports-bugs mailing list