diff options
author | mrauch <mrauch> | 2002-02-12 15:18:46 +0000 |
---|---|---|
committer | mrauch <mrauch> | 2002-02-12 15:18:46 +0000 |
commit | 8d0a6473802b804877694d3a23484dddb1946bd2 (patch) | |
tree | 18a91c0006ea2867cbaaad0a6ebba249a5aa5b0f /net/ucspi-tcp | |
parent | 8758e01280fc6aca76e466846ff601b6b821b87e (diff) | |
download | pkgsrc-8d0a6473802b804877694d3a23484dddb1946bd2.tar.gz |
The check whether ${CFLAGS} contains -O2 didn't catch the case of
multiple flags given in ${CFLAGS}. Fixed.
Diffstat (limited to 'net/ucspi-tcp')
-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: |