diff options
author | arved <arved@FreeBSD.org> | 2004-02-29 00:58:12 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-02-29 00:58:12 +0800 |
commit | b973666850278c55ad2712ab0ee5d8db21f016a8 (patch) | |
tree | 853c745783849bd2b87a42928955ea0bca1a11cd /security/ftimes | |
parent | 1eafede7f64582f3353128353f368d88554dbd19 (diff) | |
download | freebsd-ports-gnome-b973666850278c55ad2712ab0ee5d8db21f016a8.tar.gz freebsd-ports-gnome-b973666850278c55ad2712ab0ee5d8db21f016a8.tar.zst freebsd-ports-gnome-b973666850278c55ad2712ab0ee5d8db21f016a8.zip |
Respect CFLAGS
Fix build on AMD64
Reported by: bento
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." |