fix build process to obey CFLAGS

This commit is contained in:
todd 2001-03-16 16:39:31 +00:00
parent 63eb6b8aea
commit 1b14c73993
2 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2000/10/22 15:43:27 espie Exp $
# $OpenBSD: Makefile,v 1.8 2001/03/16 16:39:31 todd Exp $
DISTNAME= smurflog-2.1
CATEGORIES= net security
@ -15,7 +15,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_STYLE= gnu autoconf
do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.smurflog

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-configure_in,v 1.1 2001/03/16 16:39:31 todd Exp $
--- configure.in.orig Fri Mar 16 09:59:35 2001
+++ configure.in Fri Mar 16 09:59:45 2001
@@ -12,11 +12,6 @@ AC_C_CONST
AC_C_INLINE
AC_CHECK_PROG(STRIP,strip,strip)
-CFLAGS="-Wall -O"
-if test "x$CC" = "xgcc"; then
- CFLAGS="-Wall -O6 -fno-strength-reduce"
-fi
-
dnl Checks for libraries.
AC_CHECK_LIB(pcap, pcap_open_live)