--- bsd.perl.mk Fri Jan 16 13:25:55 2004 +++ bsd.perl.mk Fri Jan 16 13:37:48 2004 @@ -29,9 +29,9 @@ # This value is added to PLIST_SUB. ## -.if !defined(Perl_Include) +.if !defined(_POSTMKINCLUDED) && !defined(Perl_Pre_Include) -Perl_Include= bsd.perl.mk +Perl_Pre_Include= bsd.perl.mk .if !defined(PERL_LEVEL) && defined(PERL_VERSION) perl_major= ${PERL_VERSION:C|^([1-9]+).*|\1|} @@ -115,6 +115,12 @@ .undef HAS_CONFIGURE .endif +.endif # !defined(_POSTMKINCLUDED) && !defined(Perl_Pre_Include) + +.if defined(_POSTMKINCLUDED) && !defined(Perl_Post_Include) + +Perl_Post_Include= bsd.perl.mk + .if defined(PERL_CONFIGURE) .if !target(do-configure) do-configure: @@ -129,4 +135,4 @@ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile .endif .endif -.endif # !defined(Perl_Include) +.endif # defined(_POSTMKINCLUDED) && !defined(Perl_Post_Include)