Index | Thread | Search

From:
Matthias Kilian <kili@outback.escape.de>
Subject:
www/pound: fix occasional build breakage
To:
ports@openbsd.org
Cc:
sthen@openbsd.org, naddy@openbsd.org, tb@openbsd.org
Date:
Thu, 2 Oct 2025 23:25:07 +0200

Download raw body.

Thread
  • Matthias Kilian:

    www/pound: fix occasional build breakage

Hi,

www/pound picks up net/adns if installed (found by tb@), which
causes the build to fail with 'ld: error: undefined symbol:
lh_BACKEND_get_down_load' (reported by naddy@).

tb@ suggested the diff below, which still works for me on a -stable
machine (sorry, I don't have a -current machine running a web server)
and should fix the failure for bulk builds on -current.

ok?

Ciao,
	Kili

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/pound/Makefile,v
diff -u -p -r1.24 Makefile
--- Makefile	18 Sep 2025 06:16:28 -0000	1.24
+++ Makefile	2 Oct 2025 21:16:54 -0000
@@ -1,7 +1,7 @@
 COMMENT =		HTTP reverse proxy/load balancer/SSL offload
 
 V =			4.17
-REVISION =		0
+REVISION =		1
 DISTNAME =		pound-$V
 PKGNAME =		${DISTNAME:L}
 
@@ -25,6 +25,7 @@ CONFIGURE_STYLE =	gnu
 CONFIGURE_ARGS +=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
 			LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
 			MAKEINFO=gmakeinfo \
+			--disable-dynamic-backends \
 			--with-owner=root \
 			--with-group=bin