]> CyberLeo.Net >> Repos - CDN/cdn-ports-overlay.git/blob - cdn/patch/deprecated/Mk_bsd.local.mk-strip-perl5-python.patch
misc-cdn/bash-config: include missing plist files
[CDN/cdn-ports-overlay.git] / cdn / patch / deprecated / Mk_bsd.local.mk-strip-perl5-python.patch
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
3 @@ -12,6 +12,40 @@
4  
5  Local_Pre_Include=             bsd.local.mk
6  
7 +.if defined(STRIP_PERL5)
8 +  PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-perl
9 +. undef USE_PERL5
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}
15 +. undef 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}
20 +. undef USE_PERL5
21 +. undef USE_PERL5_RUN
22 +.endif
23 +
24 +.if defined(STRIP_PYTHON)
25 +  PKGNAMESUFFIX := $(PKGNAMESUFFIX)-no-python
26 +. undef USE_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}
32 +. undef 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}
37 +. undef USE_PYTHON
38 +. undef USE_PYTHON_RUN
39 +.endif
40 +
41  #
42  # Here is where any code that needs to run at bsd.port.pre.mk inclusion
43  # time should live.