]> CyberLeo.Net >> Repos - CDN/cdn-ports-overlay.git/blob - cdn/patch/Mk_bsd.local.mk-strip-perl5-python.patch
Update homepages in pkg-descr
[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,46 @@
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 +. if defined(USE_PERL5)
14 +    USE_PERL5_RUN := ${USE_PERL5)
15 +. endif
16 +. undef USE_PERL5
17 +. undef USE_PERL5_BUILD
18 +.elif defined(STRIP_PERL5_RUN)
19 +  PKGNAMESUFFIX := $(PKGNAMESUFFIX)+noperl
20 +. if defined(USE_PERL5)
21 +    USE_PERL5_BUILD := ${USE_PERL5}
22 +. endif
23 +. undef USE_PERL5
24 +. undef USE_PERL5_RUN
25 +.endif
26 +
27 +.if defined(STRIP_PYTHON)
28 +  PKGNAMESUFFIX := $(PKGNAMESUFFIX)+nopython
29 +. undef USE_PYTHON
30 +. undef USE_PYTHON_BUILD
31 +. undef USE_PYTHON_RUN
32 +.elif defined(STRIP_PYTHON_BUILD)
33 +. if defined(USE_PYTHON)
34 +    USE_PYTHON_RUN := ${USE_PYTHON}
35 +. endif
36 +. undef USE_PYTHON
37 +. undef USE_PYTHON_BUILD
38 +.elif defined(STRIP_PYTHON_RUN)
39 +  PKGNAMESUFFIX := $(PKGNAMESUFFIX)+nopython
40 +. if defined(USE_PYTHON)
41 +    USE_PYTHON_BUILD := ${USE_PYTHON}
42 +. endif
43 +. undef USE_PYTHON
44 +. undef USE_PYTHON_RUN
45 +.endif
46 +
47  #
48  # Here is where any code that needs to run at bsd.port.pre.mk inclusion
49  # time should live.