ports/67696: [PATCH] graphics/jhead: [honor CC & CFLAGS]
michael johnson
ahze at ahze.net
Tue Jun 8 01:20:17 UTC 2004
>Number: 67696
>Category: ports
>Synopsis: [PATCH] graphics/jhead: [honor CC & CFLAGS]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 08 01:20:13 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: michael johnson
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #50: Thu Jun 3 21:24:59 EDT
>Description:
- honor CC & CFLAGS
I submited this patch a few hours ago and I never saw it come through? so I am submitting it again.
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- jhead-2.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/jhead/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile 6 Apr 2004 12:52:05 -0000 1.9
+++ Makefile 7 Jun 2004 18:47:35 -0000
@@ -15,10 +15,15 @@
MAKEFILE= ${WRKSRC}/makefile
USE_GMAKE= yes
+MAKE_ENV= CC="${CC}"
+USE_REINPLACE= yes
PORTDOCS= usage.html
PLIST_FILES= bin/jhead
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${MAKEFILE}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
.if !defined(NOPORTDOCS)
--- jhead-2.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list