The following reply was made to PR pkg/34225; it has been noted by GNATS.
From: OBATA Akio <obache%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Shaun Amott <shaun%inerd.com@localhost>
Subject: Re: pkg/34225: New Package: graphics/raster3d: Set of tools
for generating raster images of proteins and molecules
Date: Sat, 02 Feb 2008 21:05:38 +0900
Thanks for your reply.
--On 2008/02/01 14:50 +0000 Shaun Amott <shaun%inerd.com@localhost> wrote:
> On Fri, Feb 01, 2008 at 01:20:04PM +0000, OBATA Akio wrote:
> >
> > I have tree questions about your package.
> >
> > 1) Why using special FFLAGS?
> > at least on NetBSD 4.0 (f2c), -Wno-globals is not supported.
>
> The library path may be required on FreeBSD -- I can't remember; and I
> guess there were a lot of warnings which that flag suppressed. I'm not
> sure 4.0 even existed back when I submitted this PR. :-)
Warnings should not be suppressed. It has the potential to hide bugs.
I found one problem that cause build failure with f2c.
Subroutine zeroi is used with REAL, but define as INTEGER.
--- ribbon.f.orig 2003-10-20 22:50:11.000000000 +0000
+++ ribbon.f
@@ -211,7 +211,7 @@ CEAM nat = -1
end
subroutine zeroi( a, nwords )
- integer*4 a(nwords)
+ real*4 a(nwords)
do i = 1,nwords
a(i) = 0
end do
> > 2) Why need special replacement in.h for FreeBSD?
> > It seems for EOL FreeBSD 4.x.
>
> Yes, this was for FreeBSD 4.x, which wasn't EOL at the time the PR was
> submitted.
That's right!
But do you know why this replacement is required for FreeBSD 4.x?
(or just taken from FreeBSD ports?)
Some platforms supported by pkgsrc may need same replacement and
we cannot maintain the file if we don't know why it is required.
I'd forgotten about one more question:-) I have tree questions!
R3D_LIB is user-configurable variable
or always must be ${PREFIX}/share/raser3d/materials?
--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost