Browse Source

haproxy: Marked as cross-compileable when requested

user/amery/cross
Christian Wiese 17 years ago
committed by Alejandro Mery
parent
commit
e11b9a5dda
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      network/haproxy/haproxy.conf
  2. +1
    -1
      network/haproxy/haproxy.desc

+ 5
- 0
network/haproxy/haproxy.conf

@ -12,14 +12,19 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
LD=$CC
# linux26 optimization
var_append makeopt ' ' "TARGET=linux26"
# use pcre for regex (recommended)
if pkginstalled pcre; then
pkgprefix -t pcre
var_append makeopt ' ' "USE_PCRE=1"
# it is recommended to link in pcre statically
var_append makeopt ' ' "USE_STATIC_PCRE=1"
# use the right location for pcre especially while cross-compiling
var_append makeopt ' ' "PCREDIR=$root/$( pkgprefix pcre )"
else
echo_warning "PCRE is not available but recommended for regex support!"
fi

+ 1
- 1
network/haproxy/haproxy.desc

@ -33,6 +33,6 @@
[L] GPL
[S] Stable
[V] 1.3.20
[P] X -----5---9 800.000
[P] X -?---5---9 800.000
[D] 1018115976 haproxy-1.3.20.tar.gz http://haproxy.1wt.eu/download/1.3/src/

Loading…
Cancel
Save