tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Handling Perl Windows-only depends

Edgar Fuß wrote:
I'm pkgsrc'ing a Perl module (IPC::System::Simple) with the following in 

requires('Win32::Process'=> 0) if WINDOWS;
requires('File::Spec'=> 0) if WINDOWS;

How do I mimic this in a pkgsrc Makefile DEPENDS?

How about

.if ${OPSYS} == "something"
DEPENDS+= p5-File-Spec-[0-9]*:../../xxx/p5-File-Spec


Home | Main Index | Thread Index | Old Index