aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2004-08-08 23:09:20 +0800
committersf <sf@FreeBSD.org>2004-08-08 23:09:20 +0800
commitdc726f70b21d2c8b8cd4b26d26b75063f10201f8 (patch)
tree455cc208b9445d01087939b790bb94ac212f3dd2 /security
parentfb663b1ef4aa535dc1274d2262a9c5c9f4704afe (diff)
downloadfreebsd-ports-gnome-dc726f70b21d2c8b8cd4b26d26b75063f10201f8.tar.gz
freebsd-ports-gnome-dc726f70b21d2c8b8cd4b26d26b75063f10201f8.tar.zst
freebsd-ports-gnome-dc726f70b21d2c8b8cd4b26d26b75063f10201f8.zip
respect CC/CFLAGS.
Diffstat (limited to 'security')
-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>