openbsd-ports/mail/cyrus-imapd/patches/drac-patch-imap_Makefile_in

28 lines
943 B
Plaintext

$OpenBSD: drac-patch-imap_Makefile_in,v 1.2 2010/11/02 07:08:04 ajacoutot Exp $
--- imap/Makefile.in.orig Tue Nov 2 07:59:26 2010
+++ imap/Makefile.in Tue Nov 2 08:00:04 2010
@@ -58,19 +58,19 @@ AWK = @AWK@
CYRUS_USER=@cyrus_user@
CYRUS_GROUP=@cyrus_group@
-DEFS = @DEFS@ @LOCALDEFS@
+DEFS = @DEFS@ @LOCALDEFS@ -DDRAC_AUTH
CPPFLAGS = -I.. -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@
IMAP_LIBS = @IMAP_LIBS@ @LIB_RT@
SIEVE_OBJS = @SIEVE_OBJS@
SIEVE_LIBS = @SIEVE_LIBS@
IMAP_COM_ERR_LIBS = @IMAP_COM_ERR_LIBS@
LIB_WRAP = @LIB_WRAP@
-DRAC_LIBS = @DRACLIBS@
-LIBS = $(IMAP_LIBS) $(IMAP_COM_ERR_LIBS)
+DRAC_LIBS = -ldrac
+LIBS = $(IMAP_LIBS) $(IMAP_COM_ERR_LIBS) $(DRAC_LIBS)
DEPLIBS = ../lib/libcyrus.a ../lib/libcyrus_min.a @DEPLIBS@
CFLAGS = @CFLAGS@
-LDFLAGS = @LDFLAGS@ @COM_ERR_LDFLAGS@
+LDFLAGS = @LDFLAGS@ @COM_ERR_LDFLAGS@ -L${LOCALBASE}/lib
SHELL = /bin/sh
MAKEDEPEND = @MAKEDEPEND@