Subject: Re: pkg/29562: lang/icon Makefile strangeness ??
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: pkgsrc-bugs
Date: 03/01/2005 09:08:02
The following reply was made to PR pkg/29562; it has been noted by GNATS.
From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: kre@munnari.OZ.AU, christos@NetBSD.org
Subject: Re: pkg/29562: lang/icon Makefile strangeness ??
Date: Tue, 1 Mar 2005 10:05:58 +0100
On Tue, Mar 01, 2005 at 03:40:01AM +0000, kre@munnari.OZ.AU wrote:
> make: "/local/jade/pkgsrc/lang/icon/Makefile" line 39: warning: extra else
> make: "/local/jade/pkgsrc/lang/icon/Makefile" line 49: warning: extra else
...
> .if ${OPSYS} == "NetBSD"
> . if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "i386") || \
> . else
> . endif
> .elseif ${OPSYS} == "SunOS"
> . if !empty(CC_VERSION:M*gcc*)
> . elseif !empty(CC_VERSION:MSun)
> . else (<<< line 39)
> . endif
> . if ${MACHINE_ARCH} == "sparc"
> . else
> . endif
> .else (<<< line 49)
> .endif
It should be elif, not elseif. See also my PR 29545.
Thomas