Subject: Re: pkg/30909: arc-5.21enb1 Solaris x86 gcc
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: pkgsrc-bugs
Date: 08/04/2005 12:12:01
The following reply was made to PR pkg/30909; it has been noted by GNATS.
From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@netbsd.org
Cc: dauphin@enst.fr
Subject: Re: pkg/30909: arc-5.21enb1 Solaris x86 gcc
Date: Thu, 4 Aug 2005 14:10:55 +0200
On Thu, 4 Aug 2005 10:04:00 +0000 (UTC)
"Gilles Dauphin" <dauphin@enst.fr> wrote:
> >Fix:
>
>
> <root@u2: 592> pwd
> /usr/pkgsrc/archivers/arc
> <root@u2: 593> diff -bu Makefile.orig Makefile
> --- Makefile.orig Fri Apr 15 06:36:45 2005
> +++ Makefile Thu Aug 4 11:51:41 2005
> @@ -26,3 +26,8 @@
> ${INSTALL_MAN} ${WRKSRC}/arc.1 ${PREFIX}/man/man1/
>
> .include "../../mk/bsd.pkg.mk"
> +
> +.if ${OPSYS} == "SunOS" && ${LOWER_OPSYS} == "solaris"
> +CFLAGS+= -DSYSV -DHAVE_ALPHASORT
> +.endif
> +
You can simplify this with:
CFLAGS.SunOS+= -DSYSV -DHAVE_ALPHASORT