openbsd-ports/security/integrit/patches/patch-Makefile_in
brad 888c17f9e4 add integrit port;
--
integrit is an alternative to file integrity verification programs
like tripwire and aide. It helps you determine whether an intruder
has modified a computer system.

From: Margarida Sequeira <niness@devilness.org>
2002-11-17 00:15:19 +00:00

28 lines
801 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1.1.1 2002/11/17 00:15:19 brad Exp $
--- Makefile.in.orig Sun Sep 22 04:36:21 2002
+++ Makefile.in Sun Sep 22 04:39:40 2002
@@ -26,7 +26,7 @@ srcdir = @srcdir@
# VPATH = @srcdir@
CC = @CC@
PROG = integrit
-SBINDIR = @sbindir@
+SBINDIR = ${PREFIX}/sbin
INSTALL = @INSTALL@
OBJ = @OBJ@
ILIBOBJ = @ILIBOBJ@
@@ -84,9 +84,12 @@ $(srcdir)/dep.mak ::
fi; \
done; \
obj=`echo $$f | sed -e 's/^gnupg\///' -e 's/\.c\$$/.o/'`; \
- printf "%s\n\t%s\n" \
+ if [ "$obj" = "sha1.o" ]; then \
+ extra_flags="-O0"; \
+ fi; \
+ printf "%s\n\t%s\n" \
"$$obj : \$${srcdir}/$$f $$hdeps Makefile" \
- "${COMPILE} \$${srcdir}/$$f"; \
+ "${COMPILE} \$${srcdir}/$$f $extra_flags"; \
done >> dep.mak
include $(srcdir)/dep.mak