diff options
author | Dominik Lisiak <dominik.lisiak@bemsoft.pl> | 2019-08-25 15:36:14 +0200 |
---|---|---|
committer | Dominik Lisiak <dominik.lisiak@bemsoft.pl> | 2019-08-25 15:36:14 +0200 |
commit | 3a76674e4f6be145a0a13d319d3ed4bffd7e9ebe (patch) | |
tree | 87a00952d52226c0c0893a07de65768e4430fc8d | |
parent | Added committer lines. (diff) | |
download | ossec-3a76674e4f6be145a0a13d319d3ed4bffd7e9ebe.tar.xz |
Prepare for powerpc-on-clang by deleting hard-coded tests for architecture
-rw-r--r-- | security/ossec-hids-local/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/ossec-hids-local/Makefile b/security/ossec-hids-local/Makefile index 22c02b5..0e57d34 100644 --- a/security/ossec-hids-local/Makefile +++ b/security/ossec-hids-local/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: head/security/ossec-hids-local/Makefile 503254 2019-06-01 19:39:09Z pi $ +# $FreeBSD: head/security/ossec-hids-local/Makefile 507308 2019-07-25 02:33:12Z linimon $ PORTNAME= ossec-hids PORTVERSION= 3.3.0 @@ -12,7 +12,7 @@ COMMENT= Security tool to monitor and check logs and intrusions LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake ssl +USES= compiler gmake ssl OSSEC_TYPE?= local @@ -201,7 +201,7 @@ post-patch: @${REINPLACE_CMD} -e 's|-DLUA_USE_LINUX|& ${CPPFLAGS}|' \ -e 's|-lreadline|& ${LDFLAGS}|' \ ${WRKSRC}/src/external/lua/src/Makefile -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc @${REINPLACE_CMD} -e 's|-Wno-implicit-fallthrough||g' ${WRKSRC}/src/Makefile .endif |