]> CyberLeo.Net >> Repos - CDN/cdn-ports-overlay.git/blob - cdn/patch/Mk_bsd.local.mk-strip-perl5-python.patch
Rework to support multiple overlays and require less hardcoding of zpool datasets
[CDN/cdn-ports-overlay.git] / cdn / patch / 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,38 @@
4  
5  Local_Pre_Include=             bsd.local.mk
6  
7 +.if defined(STRIP_PERL5)
8 +  PKGNAMESUFFIX := $(PKGNAMESUFFIX)+noperl
9 +. undef USE_PERL5
10 +. undef USE_PERL5_BUILD
11 +. undef USE_PERL5_RUN
12 +.elif defined(STRIP_PERL5_BUILD)
13 +  USE_PERL5_RUN := ${USE_PERL5}
14 +. undef USE_PERL5
15 +. undef USE_PERL5_BUILD
16 +.elif defined(STRIP_PERL5_RUN)
17 +  PKGNAMESUFFIX := $(PKGNAMESUFFIX)+noperl
18 +  USE_PERL5_BUILD := ${USE_PERL5}
19 +. undef USE_PERL5
20 +. undef USE_PERL5_RUN
21 +.endif
22 +
23 +.if defined(STRIP_PYTHON)
24 +  PKGNAMESUFFIX := $(PKGNAMESUFFIX)+nopython
25 +. undef USE_PYTHON
26 +. undef USE_PYTHON_BUILD
27 +. undef USE_PYTHON_RUN
28 +.elif defined(STRIP_PYTHON_BUILD)
29 +  USE_PYTHON_RUN := ${USE_PYTHON}
30 +. undef USE_PYTHON
31 +. undef USE_PYTHON_BUILD
32 +.elif defined(STRIP_PYTHON_RUN)
33 +  PKGNAMESUFFIX := $(PKGNAMESUFFIX)+nopython
34 +  USE_PYTHON_BUILD := ${USE_PYTHON}
35 +. undef USE_PYTHON
36 +. undef USE_PYTHON_RUN
37 +.endif
38 +
39  #
40  # Here is where any code that needs to run at bsd.port.pre.mk inclusion
41  # time should live.