--- Mk/bsd.local.mk.orig 2006-12-10 12:15:33.000000000 -0600 +++ Mk/bsd.local.mk 2010-08-29 02:57:11.000000000 -0500 @@ -12,6 +12,40 @@ Local_Pre_Include= bsd.local.mk +.if defined(STRIP_PERL5) + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-perl +. undef USE_PERL5 +. undef USE_PERL5_BUILD +. undef USE_PERL5_RUN +.elif defined(STRIP_PERL5_BUILD) + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-perl-bld + USE_PERL5_RUN := ${USE_PERL5} +. undef USE_PERL5 +. undef USE_PERL5_BUILD +.elif defined(STRIP_PERL5_RUN) + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-perl-run + USE_PERL5_BUILD := ${USE_PERL5} +. undef USE_PERL5 +. undef USE_PERL5_RUN +.endif + +.if defined(STRIP_PYTHON) + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-python +. undef USE_PYTHON +. undef USE_PYTHON_BUILD +. undef USE_PYTHON_RUN +.elif defined(STRIP_PYTHON_BUILD) + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-python-bld + USE_PYTHON_RUN := ${USE_PYTHON} +. undef USE_PYTHON +. undef USE_PYTHON_BUILD +.elif defined(STRIP_PYTHON_RUN) + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-python-run + USE_PYTHON_BUILD := ${USE_PYTHON} +. undef USE_PYTHON +. undef USE_PYTHON_RUN +.endif + # # Here is where any code that needs to run at bsd.port.pre.mk inclusion # time should live.