diff options
author | mrauch <mrauch@pkgsrc.org> | 2002-02-12 15:18:46 +0000 |
---|---|---|
committer | mrauch <mrauch@pkgsrc.org> | 2002-02-12 15:18:46 +0000 |
commit | a0db7319fcf6ec5d439f7fa50d671dba41d67ef6 (patch) | |
tree | 18a91c0006ea2867cbaaad0a6ebba249a5aa5b0f | |
parent | 88f51bef2e082783be0e382831038ac737df0779 (diff) | |
download | pkgsrc-a0db7319fcf6ec5d439f7fa50d671dba41d67ef6.tar.gz |
The check whether ${CFLAGS} contains -O2 didn't catch the case of
multiple flags given in ${CFLAGS}. Fixed.
-rw-r--r-- | net/ucspi-tcp/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile index 23b4fbf0499..22075ec40f8 100644 --- a/net/ucspi-tcp/Makefile +++ b/net/ucspi-tcp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/10/22 13:51:06 zuntum Exp $ +# $NetBSD: Makefile,v 1.9 2002/02/12 15:18:46 mrauch Exp $ # FreeBSD Id: ports/sysutils/ucspi-tcp/Makefile,v 1.12 2000/07/10 01:41:24 steve Exp DISTNAME= ucspi-tcp-0.88 @@ -20,8 +20,8 @@ NO_BIN_ON_FTP= ${RESTRICTED} ALL_TARGET= it INSTALL_TARGET= setup check -.if (${MACHINE_ARCH} == "arm32" && ${CFLAGS} == "-O2") -CFLAGS= -O0 +.if (${MACHINE_ARCH} == "arm32" && ${CFLAGS:M-O2} == "-O2") +CFLAGS:= ${CFLAGS:S/-O2/-O0/} .endif post-configure: |