diff options
-rw-r--r-- | graphics/jhead/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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) |