Date: Sun, 25 Oct 2009 15:42:02 +0300 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/139965: [patch] graphics/openjpeg: use $(CC) instead of `gcc' Message-ID: <86tyxnsl0l.fsf@gmail.com> Resent-Message-ID: <200910251600.n9PG0AMZ019578@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139965 >Category: ports >Synopsis: [patch] graphics/openjpeg: use $(CC) instead of `gcc' >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 25 16:00:10 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD 9.0-CURRENT #0 198464M: Sun Oct 25 10:34:20 UTC 2009 holo@raphael.local:/a/objdir/a/dirty_build/sys/PHOENIX amd64 >Description: >How-To-Repeat: $ make CC=gcc44 |& fgrep 'gcc ' gcc -O2 -pipe -march=native -fno-strict-aliasing -Wall -std=c99 -fPIC -Ilibopenjpeg -O3 -fPIC -Ilibopenjpeg_JPWL -DUSE_JPWL ../codec/convert.c ../codec/image_to_j2k.c ../codec/index.c -o JPWL_image_to_j2k -I ../libopenjpeg/ -L . -L/usr/local/lib -lopenjpeg_JPWL -lm -ltiff gcc -O2 -pipe -march=native -fno-strict-aliasing -Wall -std=c99 -fPIC -Ilibopenjpeg -O3 -fPIC -Ilibopenjpeg_JPWL -DUSE_JPWL ../codec/convert.c ../codec/j2k_to_image.c ../codec/index.c -o JPWL_j2k_to_image -I ../libopenjpeg/ -L . -L/usr/local/lib -lopenjpeg_JPWL -lm -ltiff >Fix: --- respect_CC.diff begins here --- Index: graphics/openjpeg/Makefile =================================================================== RCS file: /a/.cvsup/ports/graphics/openjpeg/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- graphics/openjpeg/Makefile 31 Jul 2009 13:52:30 -0000 1.13 +++ graphics/openjpeg/Makefile 25 Oct 2009 12:26:22 -0000 @@ -7,7 +7,7 @@ PORTNAME= openjpeg PORTVERSION= 1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.openjpeg.org/ \ ${MASTER_SITE_LOCAL} @@ -36,6 +36,9 @@ PLIST_FILES= include/openjpeg.h \ SHLIB_VER= 2 +post-patch: .SILENT + ${FIND} ${WRKSRC} -type f -name Makefile -exec ${REINPLACE_CMD} 's|gcc|$$(CC)|g' {} + + do-install: ${INSTALL_DATA} ${WRKSRC}/libopenjpeg/openjpeg.h ${PREFIX}/include/ ${INSTALL_DATA} ${WRKSRC}/libopenjpeg.a ${PREFIX}/lib/ --- respect_CC.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86tyxnsl0l.fsf>