FreeBSD Bugzilla – Attachment 138302 Details for
Bug 184233
graphics/rgbpaint: Support CC properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
graphics_rgbpaint.diff
graphics_rgbpaint.diff (text/x-diff), 1.60 KB, created by
tkato432
on 2014-02-06 09:58:16 UTC
(
hide
)
Description:
graphics_rgbpaint.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2014-02-06 09:58:16 UTC
Size:
1.60 KB
patch
obsolete
>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 2014-02-06 18:00:00.000000000 +0900 >@@ -10,6 +10,8 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= Very basic painting program > >+LICENSE= GPLv2 # (or later) >+ > USES= gettext pkgconfig > USE_BZIP2= yes > USE_GNOME= gtk20 >@@ -20,13 +22,19 @@ > DESKTOP_ENTRIES="rgbPaint" "" "" "${PORTNAME}" "" true > > post-patch: >- @${REINPLACE_CMD} -e '/if \[/s|==|=|g; s|gcc -Wall|${CC}|' \ >+ @${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' \ > ${WRKSRC}/po/Makefile >- @${REINPLACE_CMD} 's|$$(BIN_INSTALL)|$$(DESTDIR)&|g' \ >+ @${REINPLACE_CMD} 's|$$(BIN_INSTALL)|$$(DESTDIR)&|g ; \ >+ /^LDFLAGS/s|)$$|) -lm -lintl|' \ > ${WRKSRC}/src/Makefile > >+post-install: >+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rgbpaint >+ > .include <bsd.port.mk> >diff -urN /usr/ports/graphics/rgbpaint/files/patch-src_Makefile graphics/rgbpaint/files/patch-src_Makefile >--- /usr/ports/graphics/rgbpaint/files/patch-src_Makefile 2014-02-06 16:07:22.000000000 +0900 >+++ graphics/rgbpaint/files/patch-src_Makefile 1970-01-01 09:00:00.000000000 +0900 >@@ -1,11 +0,0 @@ >---- src/Makefile.orig 2007-01-12 14:22:19.000000000 +0000 >-+++ src/Makefile >-@@ -1,7 +1,7 @@ >- include ../_conf.txt >- >- CFLAGS = $(CFLAG) >--LDFLAGS = $(LDFLAG) $(GLIB_LIB) >-+LDFLAGS = $(LDFLAG) $(GLIB_LIB) -lm -lintl >- >- BIN = rgbpaint >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184233
:
138300
|
138301
| 138302