1 --- Mk/bsd.local.mk.orig 2006-12-10 12:15:33.000000000 -0600
2 +++ Mk/bsd.local.mk 2010-08-29 02:57:11.000000000 -0500
5 Local_Pre_Include= bsd.local.mk
7 +.if defined(STRIP_PERL5)
8 + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-perl
10 +. undef USE_PERL5_BUILD
11 +. undef USE_PERL5_RUN
12 +.elif defined(STRIP_PERL5_BUILD)
13 + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-perl-bld
14 + USE_PERL5_RUN := ${USE_PERL5}
16 +. undef USE_PERL5_BUILD
17 +.elif defined(STRIP_PERL5_RUN)
18 + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-perl-run
19 + USE_PERL5_BUILD := ${USE_PERL5}
21 +. undef USE_PERL5_RUN
24 +.if defined(STRIP_PYTHON)
25 + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-python
27 +. undef USE_PYTHON_BUILD
28 +. undef USE_PYTHON_RUN
29 +.elif defined(STRIP_PYTHON_BUILD)
30 + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-python-bld
31 + USE_PYTHON_RUN := ${USE_PYTHON}
33 +. undef USE_PYTHON_BUILD
34 +.elif defined(STRIP_PYTHON_RUN)
35 + PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-python-run
36 + USE_PYTHON_BUILD := ${USE_PYTHON}
38 +. undef USE_PYTHON_RUN
42 # Here is where any code that needs to run at bsd.port.pre.mk inclusion