diff options
-rw-r--r-- | security/ftimes/Makefile | 4 | ||||
-rw-r--r-- | security/ftimes/files/patch-configure | 11 |
2 files changed, 15 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 diff --git a/security/ftimes/files/patch-configure b/security/ftimes/files/patch-configure new file mode 100644 index 000000000000..89bd296d0b0d --- /dev/null +++ b/security/ftimes/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Sat Feb 28 17:48:30 2004 ++++ configure Sat Feb 28 17:49:52 2004 +@@ -1441,6 +1441,8 @@ + _ACEOF + + ;; ++amd64*) ++ ;; + *) + echo + echo "The target cpu, $host_cpu, is not currently supported." |