6b7a749803
libldap_r and slurpd. Patch those Makefiles (patch-aj, patch-ak) to pass $(PTHREAD_CFLAGS) and $(PTHREAD_LDFLAGS) to the build. The configure process correctly adds any necessary libraries, so adding $(PTHREAD_LIBS) isn't needed. Bump the PKGREVISION since the LDAP libraries are no longer linked against libpthread. This fixes PR pkg/28259.
14 lines
415 B
Text
14 lines
415 B
Text
$NetBSD: patch-ak,v 1.1 2004/11/18 19:07:04 jlam Exp $
|
|
|
|
--- servers/slurpd/Makefile.in.orig 2004-01-01 13:16:42.000000000 -0500
|
|
+++ servers/slurpd/Makefile.in
|
|
@@ -43,6 +43,9 @@ XLIBS = $(SLURPD_L)
|
|
XXLIBS = $(SLURPD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS)
|
|
XXXLIBS = $(LTHREAD_LIBS)
|
|
|
|
+AC_CFLAGS += $(PTHREAD_CFLAGS)
|
|
+AC_LDFLAGS += $(PTHREAD_LDFLAGS)
|
|
+
|
|
slurpd: version.o
|
|
$(LTLINK) -o $@ $(OBJS) version.o $(LIBS)
|
|
|