From 792f40541fbdee739f440b2ef554b698f33c8b40 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 8 Jun 2004 08:23:06 +0000 Subject: - Honour CC & CFLAGS PR: ports/67696 Submitted by: michael johnson --- graphics/jhead/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'graphics/jhead') diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile index 8e2a36dac0ff..d69dbb0ced94 100644 --- a/graphics/jhead/Makefile +++ b/graphics/jhead/Makefile @@ -15,10 +15,15 @@ COMMENT= Exif Jpeg camera setting parser and thumbnail remover 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) -- cgit v1.2.3