aboutsummaryrefslogtreecommitdiffstats
path: root/security/md5deep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/md5deep/Makefile')
-rw-r--r--security/md5deep/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/md5deep/Makefile b/security/md5deep/Makefile
index bde726a0ee83..9202953d9b96 100644
--- a/security/md5deep/Makefile
+++ b/security/md5deep/Makefile
@@ -22,6 +22,10 @@ MAN1= md5deep.1 sha1deep.1
PLIST_FILES= bin/md5deep bin/sha1deep
post-patch:
- @${REINPLACE_CMD} -e 's!/usr/local!${PREFIX}!g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's!/usr/local!${PREFIX}!g' \
+ -e 's!-Wall -O2!$(CFLAGS)!' \
+ -e 's!gcc!$(CC)!' \
+ -e 's!$$(CC)!$$(_CC)!' \
+ -e 's!^CC!_CC!' ${WRKSRC}/Makefile
.include <bsd.port.mk>