$OpenBSD: patch-src_Makefile_in,v 1.3 2011/11/27 10:57:24 fgsch Exp $
--- src/Makefile.in.orig	Thu Oct 20 18:55:29 2011
+++ src/Makefile.in	Wed Nov 16 20:51:20 2011
@@ -150,7 +150,7 @@ LEX = @LEX@
 LEXLIB = @LEXLIB@
 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
 LIBEXEC_DIR = @LIBEXEC_DIR@
-LIBLTDL = @LIBLTDL@
+LIBLTDL = -lltdl
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
 LIBTOOL = @LIBTOOL@
@@ -261,7 +261,7 @@ AUTOMAKE_OPTIONS = foreign
 libcoredir = @libdir@
 AM_YFLAGS = -d
 AM_CFLAGS = $(WARNFLAGS)
-INCLUDES = -I../libratbox/include -I../libltdl @SSL_INCLUDES@
+INCLUDES = -I../libratbox/include -I$(LOCALBASE)/include @SSL_INCLUDES@
 BUILT_SOURCES = version.c
 @MINGW_TRUE@EXTRA_FLAGS = -no-undefined -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*'
 libcore_la_SOURCES = \
