> http://build-failures.rhaalovely.net/powerpc/last/security/suricata.log
> http://build-failures.rhaalovely.net/sparc64/last/security/suricata.log

Suricata is one of these ports having issues with thread local storage
with base-gcc and C99. 

This diff defines COMPILER, so we use ports-gcc instead. I also made
the spacing consistent in the Makefile. 

It has been built and installed on macppc/ports-gcc-{8,4.9}
successfully.

Any comments? 

Charlène. 


Index: Makefile
===================================================================
RCS file: /cvs/ports/security/suricata/Makefile,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 Makefile
--- Makefile    19 Apr 2019 12:22:27 -0000      1.18
+++ Makefile    21 Apr 2019 02:49:19 -0000
@@ -4,11 +4,11 @@ COMMENT =     high performance network IDS, 
 
 SURICATA_V =   4.1.3
 SUPDATE_V =    1.0.4
-REVISION =     4
+REVISION =     5
 
 DISTNAME =     suricata-${SURICATA_V}
 CATEGORIES =   security
-SHARED_LIBS +=  htp                       0.0 # 2.0
+SHARED_LIBS += htp                       0.0 # 2.0
 
 HOMEPAGE =     https://suricata-ids.org/
 
@@ -21,12 +21,12 @@ PERMIT_PACKAGE_CDROM=       Yes
 MASTER_SITES = https://www.openinfosecfoundation.org/download/
 
 # uses pledge()
-WANTLIB += c iconv jansson lz4 lzma magic net nspr4 nss3 nssutil3 pcap
-WANTLIB += pcre plc4 plds4 pthread smime3 ssl3 yaml-0 z
+WANTLIB +=     c iconv jansson lz4 lzma magic net nspr4 nss3 nssutil3 pcap
+WANTLIB +=     pcre plc4 plds4 pthread smime3 ssl3 yaml-0 z
 
 MODULES =      lang/python
 
-BUILD_DEPENDS = textproc/py-sphinx \
+BUILD_DEPENDS =        textproc/py-sphinx \
                textproc/py-yaml
 
 RUN_DEPENDS =  textproc/py-yaml
@@ -42,17 +42,19 @@ LIB_DEPENDS =       archivers/lz4 \
                net/libnet/1.1 \
                security/nss
 
+COMPILER =     base-clang ports-gcc
+
 CONFIGURE_STYLE =      autoconf
 AUTOCONF_VERSION =     2.69
 
-CONFIGURE_ENV = ac_cv_path_HAVE_PDFLATEX= \
-               ac_cv_path_HAVE_GIT_CMD=
+CONFIGURE_ENV =                ac_cv_path_HAVE_PDFLATEX= \
+                       ac_cv_path_HAVE_GIT_CMD=
 
 CONFIGURE_ARGS =       --disable-gccmarch-native \
                        --enable-ipfw \
                        --disable-rust
 
-SUBST_VARS =   VARBASE SURICATA_V SUPDATE_V
+SUBST_VARS =           VARBASE SURICATA_V SUPDATE_V
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/suricata/rules

Reply via email to