diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-28 16:58:12 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-28 16:58:12 +0000 |
commit | 6e57a687c663e9b5b832e1b782f5d09c6fb416c0 (patch) | |
tree | b28e4dabf441c8e429e8846d498300ac53e8e1b1 /security/ftimes | |
parent | 22cb27d26cf43beaae0520efbccb44924c75900a (diff) |
Respect CFLAGS
Fix build on AMD64
Reported by: bento
Notes
Notes:
svn path=/head/; revision=102426
Diffstat (limited to 'security/ftimes')
-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." |