pkgsrc/mail/cyrus-imapd/patches/patch-ak
jlam 84ecfaf773 If we are building with perl, then create libcyrus.a, libacap.a, and
libsieve.a from relocatable objects so that when the Perl modules are
linked against these libraries, they are composed wholly from relocatable
objects.  We query perl for how to compile a source file into a relocatable
object file.  This should fix pkg/16089.
2002-11-01 00:26:30 +00:00

15 lines
435 B
Text

$NetBSD: patch-ak,v 1.3 2002/11/01 00:26:30 jlam Exp $
--- configure.in.orig Fri Jun 22 21:01:47 2001
+++ configure.in
@@ -180,6 +180,10 @@ dnl compile perl stuff
EXTRA_SUBDIRS="${EXTRA_SUBDIRS} perl"
dnl and compile perl/cyradm
PERL_SUBDIRS="imap"
+dnl add perl cccdlflags when building libraries
+ eval `${PERL} -V:cccdlflags`
+ PERL_CCCDLFLAGS="$cccdlflags"
+ AC_SUBST(PERL_CCCDLFLAGS)
fi
dnl for timsieved