From e11b9a5dda4d1b641495c44d38d2269c77d202a9 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 17 Mar 2008 16:56:44 +0200 Subject: [PATCH] haproxy: Marked as cross-compileable when requested --- network/haproxy/haproxy.conf | 5 +++++ network/haproxy/haproxy.desc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/network/haproxy/haproxy.conf b/network/haproxy/haproxy.conf index 6299e72dd..f9aba6658 100644 --- a/network/haproxy/haproxy.conf +++ b/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 diff --git a/network/haproxy/haproxy.desc b/network/haproxy/haproxy.desc index 7237453f0..66c5ac76f 100644 --- a/network/haproxy/haproxy.desc +++ b/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/