Edgar Fuß wrote:
I'm pkgsrc'ing a Perl module (IPC::System::Simple) with the following in
Makefile.PL:
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
.endif
Martti