aboutsummaryrefslogtreecommitdiff
path: root/graphics/jhead
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-06-08 08:23:06 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-06-08 08:23:06 +0000
commit792f40541fbdee739f440b2ef554b698f33c8b40 (patch)
tree312b76d50baa2aefa3a623f12eed4370daf2290d /graphics/jhead
parentd4389f5b378979d255c0284b67a5fcdd1102a844 (diff)
downloadports-792f40541fbdee739f440b2ef554b698f33c8b40.tar.gz
ports-792f40541fbdee739f440b2ef554b698f33c8b40.zip
Notes
Diffstat (limited to 'graphics/jhead')
-rw-r--r--graphics/jhead/Makefile5
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)