aboutsummaryrefslogtreecommitdiff
path: root/security/ftimes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/ftimes/Makefile')
-rw-r--r--security/ftimes/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/ftimes/Makefile b/security/ftimes/Makefile
index 5fae57a39fa8..72f96a2313bc 100644
--- a/security/ftimes/Makefile
+++ b/security/ftimes/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= klm@uidzero.org
COMMENT= A system baselining and evidence collection tool
GNU_CONFIGURE= YES
+USE_REINPLACE= YES
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --without-ssl
@@ -32,6 +33,9 @@ CFLAGS+= -static
MAN1= ftimes.1
+post-patch:
+ ${REINPLACE_CMD} -e "s,-O2,${CFLAGS},g" ${WRKSRC}/configure
+
post-install:
${STRIP_CMD} ${PREFIX}/bin/ftimes