Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37788640
en ru br
ALT Linux repos
S:2.8.2-alt1
5.0: 1.3.15.4-alt1
4.1: 1.3.12-alt1

Group :: System/Servers
RPM: haproxy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: haproxy-1.3.15.4-pcre.patch
Download


--- haproxy-1.3.15.4/Makefile.orig	2008-10-03 05:10:56 +0000
+++ haproxy-1.3.15.4/Makefile	2008-10-03 05:15:50 +0000
@@ -387,8 +387,8 @@
 ifeq ($(PCREDIR),)
 PCREDIR	        := $(shell pcre-config --prefix 2>/dev/null || echo /usr/local)
 endif
-OPTIONS_CFLAGS  += -DUSE_PCRE -I$(PCREDIR)/include
-OPTIONS_LDFLAGS += -L$(PCREDIR)/lib -lpcreposix -lpcre
+OPTIONS_CFLAGS  += -DUSE_PCRE $(shell pcre-config --cflags-posix 2>/dev/null || echo /usr/incrude/pcre)
+OPTIONS_LDFLAGS += -L$(PCREDIR)/lib  $(shell pcre-config --libs-posix)
 BUILD_OPTIONS   += $(call ignore_implicit,USE_PCRE)
 endif
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin