Summary: | graphics/rgbpaint: Support CC properly | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | tkato432 | ||||||||
Component: | Individual Port(s) | Assignee: | Martin Wilke <miwi> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | ||||||||||
Priority: | Normal | ||||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Description
tkato432
2013-11-24 18:10:04 UTC
Remake of the patch against current tree. Responsible Changed From-To: freebsd-ports-bugs->miwi I'll take it. Remake of the patch against current tree. State Changed From-To: open->closed Committed. Thanks! Author: miwi Date: Thu Feb 27 11:43:47 2014 New Revision: 346316 URL: http://svnweb.freebsd.org/changeset/ports/346316 QAT: https://qat.redports.org/buildarchive/r346316/ Log: - Support CC properly - Stage support PR: 184233 Deleted: head/graphics/rgbpaint/files/ Modified: head/graphics/rgbpaint/Makefile Modified: head/graphics/rgbpaint/Makefile ============================================================================== --- head/graphics/rgbpaint/Makefile Thu Feb 27 10:54:16 2014 (r346315) +++ head/graphics/rgbpaint/Makefile Thu Feb 27 11:43:47 2014 (r346316) @@ -10,6 +10,8 @@ MASTER_SITES= SF/mtpaint/${PORTNAME}/${P 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 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --man 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> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" |