Browse Source

haproxy: Marked as cross-compileable when requested

crossperl
Christian Wiese 17 years ago committed by Alejandro Mery
parent
commit
6c62553ef2
  1. 5
      network/haproxy/haproxy.conf
  2. 2
      network/haproxy/haproxy.desc

5
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

2
network/haproxy/haproxy.desc

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

Loading…
Cancel
Save