diff --git a/net/snort/patches/patch-src_dynamic-preprocessors_s7commplus_Makefile_in b/net/snort/patches/patch-src_dynamic-preprocessors_s7commplus_Makefile_in new file mode 100644 index 00000000000..8ca68f2db97 --- /dev/null +++ b/net/snort/patches/patch-src_dynamic-preprocessors_s7commplus_Makefile_in @@ -0,0 +1,23 @@ +$OpenBSD: patch-src_dynamic-preprocessors_s7commplus_Makefile_in,v 1.1 2021/02/18 20:14:22 naddy Exp $ + +Index: src/dynamic-preprocessors/s7commplus/Makefile.in +--- src/dynamic-preprocessors/s7commplus/Makefile.in.orig ++++ src/dynamic-preprocessors/s7commplus/Makefile.in +@@ -344,7 +344,7 @@ top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = foreign no-dependencies + dynamicpreprocessordir = ${libdir}/snort_dynamicpreprocessor + dynamicpreprocessor_LTLIBRARIES = libsf_s7commplus_preproc.la +-libsf_s7commplus_preproc_la_LDFLAGS = -export-dynamic -module @XCCFLAGS@ ++libsf_s7commplus_preproc_la_LDFLAGS = -export-dynamic -module -avoid-version @XCCFLAGS@ + @SO_WITH_STATIC_LIB_TRUE@libsf_s7commplus_preproc_la_LIBADD = ../libsf_dynamic_preproc.la + @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_s7commplus_preproc_la_SOURCES = \ + @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ +@@ -546,7 +546,7 @@ distdir-am: $(DISTFILES) + done + check-am: all-am + check: check-am +-all-am: Makefile $(LTLIBRARIES) all-local ++all-am: Makefile $(LTLIBRARIES) + installdirs: + for dir in "$(DESTDIR)$(dynamicpreprocessordir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \