aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jhead
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-06-08 16:23:06 +0800
committerkrion <krion@FreeBSD.org>2004-06-08 16:23:06 +0800
commit61afc492f45ae82e5817b5de0e5f33cede928962 (patch)
tree9890564801b054203a74d7170bf4c4300dec4861 /graphics/jhead
parent8f7b97b5b2db41878c7a8209f478030e6f5e2875 (diff)
downloadfreebsd-ports-gnome-61afc492f45ae82e5817b5de0e5f33cede928962.tar.gz
freebsd-ports-gnome-61afc492f45ae82e5817b5de0e5f33cede928962.tar.zst
freebsd-ports-gnome-61afc492f45ae82e5817b5de0e5f33cede928962.zip
- Honour CC & CFLAGS
PR: ports/67696 Submitted by: michael johnson <ahze@ahze.net>
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)