Subject: Re: Makefile targets and variables
To: None <>
From: Mike M. Volokhov <>
List: tech-pkg
Date: 09/08/2003 18:56:19
Julio M. Merino Vidal wrote:
> Why do you need to check for the presence of a file in WRKSRC?

I'm working on port of DrWeb antivirus suite (wip/drweb). At this
moment there is existent distributions for three operating systems:
FreeBSD, Linux and Solaris. All they have the same set of files.
My idea is use an aproppriate tarball in dependency on OS you are
running pkgsrc. Thus, it is no matter what OS you are use. Just cd
to drweb and then ran "make install". It was referred early on
pkgsrc-wip-discuss mailing list. But maybe this idea is imperfect...

In FreeBSD bundle, some rc startup script named not "drwebd",
but "00drwebd". Moreover, it just a bit-to-bit copy of "drwebd".
By developers' think, on FreeBSD this should prevents starting
some other software which may be drweb filter and which have the
name, alphabetically smaller than "drweb" ("aaa" for example).

Thus, i move that file into WRKDIR, and then use the one and the
same patch to fix paths inside.

Best wishes,