Subject: Re: CVS commit: pkgsrc/print/gv
To: None <pkgsrc-changes@NetBSD.org, dmcmahill@NetBSD.org>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-changes
Date: 01/23/2007 11:37:51
> X-Virus-Scanned: amavisd-new at enst.fr
> X-Original-To: pkgsrc-changes@NetBSD.org
> Delivered-To: pkgsrc-changes@NetBSD.org
> From: Dan McMahill <dmcmahill@NetBSD.org>
> Subject: CVS commit: pkgsrc/print/gv
> To: pkgsrc-changes@NetBSD.org
>
>
> Module Name: pkgsrc
> Committed By: dmcmahill
> Date: Mon Jan 22 13:49:31 UTC 2007
>
> Modified Files:
> pkgsrc/print/gv: Makefile
>
> Log Message:
> Include libgetopt/buildlink3.mk for systems like solaris.
> Add an extra configure argument on solaris to let this build there. Tested
> with solaris-2.9/sparc and the sunpro compiler.
>
But does not on Solaris10 gcc amd64:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE
-DGV_LIBDIR=\"/usr/pkg/lib/gv\" -I/usr/pkg/include -I/usr/include
-I/usr/openwin/include -O -I/usr/pkg/include -I/usr/include -MT setenv.o -MD -MP
-MF ".deps/setenv.Tpo" -c -o setenv.o setenv.c; \
then mv -f ".deps/setenv.Tpo" ".deps/setenv.Po"; else rm -f
".deps/setenv.Tpo"; exit 1; fi
setenv.c: In function `setenv':
setenv.c:44: error: argument "name" doesn't match prototype
/usr/include/stdlib.h:187: error: prototype declaration
setenv.c:44: error: argument "value" doesn't match prototype
/usr/include/stdlib.h:187: error: prototype declaration
setenv.c: At top level:
setenv.c:100: error: conflicting types for 'unsetenv'
/usr/include/stdlib.h:188: error: previous declaration of 'unsetenv' was here
setenv.c:100: error: conflicting types for 'unsetenv'
/usr/include/stdlib.h:188: error: previous declaration of 'unsetenv' was here
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkg/obj/print/gv/work/.gcc/bin/gcc -DHAVE_CONFIG_H -I. -DNON_BLOCKING_IO
-DGV_CODE -DGV_LIBDIR=\"/usr/pkg/lib/gv\"
-I/pkg/obj/print/gv/work/.buildlink/include
-I/pkg/obj/print/gv/work/.x11-buildlink/include -O -MT setenv.o -MD -MP -MF
.deps/setenv.Tpo -c -o setenv.o setenv.c -m64
-L/pkg/obj/print/gv/work/.buildlink/lib
gmake[2]: *** [setenv.o] Error 1
gmake[2]: Leaving directory `/pkg/obj/print/gv/work/gv-3.6.2/src'
gmake[1]: *** [all] Error 2