From 6e57a687c663e9b5b832e1b782f5d09c6fb416c0 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sat, 28 Feb 2004 16:58:12 +0000 Subject: Respect CFLAGS Fix build on AMD64 Reported by: bento --- security/ftimes/Makefile | 4 ++++ security/ftimes/files/patch-configure | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 security/ftimes/files/patch-configure (limited to 'security/ftimes') 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." -- cgit v1.2.3