1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 04:00:41 -04:00
ports/security/snoopy/files/patch-build-snoopy.m4
Sunpoet Po-Chuan Hsieh 5967dce34a Update to 2.4.6
- Update COMMENT
- Add LICENSE_FILE
- Strip shared library

Changes:	https://github.com/a2o/snoopy/blob/master/ChangeLog
2018-01-30 15:38:23 +00:00

12 lines
603 B
Text

--- build/snoopy.m4.orig 2016-09-14 15:02:26 UTC
+++ build/snoopy.m4
@@ -183,7 +183,8 @@ AU_DEFUN([SNOOPY_CONFIGURE_ENTITY_MSG],
[
dotLine="..................................................";
whatString="Snoopy $1 enabled: $3 ";
- whatStringPadded="$whatString${dotLine:${#whatString}}";
+ dotLine2=$(echo ${dotLine} | cut -d. -f${#whatString}-)
+ whatStringPadded="$whatString${dotLine2}";
if test "x$4" == "xyes"; then
AC_MSG_NOTICE([$whatStringPadded YES])
elif test "x$4" == "xno"; then