$OpenBSD: patch-perl_Makefile_in,v 1.1.1.1 2015/04/05 21:41:02 robert Exp $
--- perl/Makefile.in.orig	Sun Apr  5 20:52:56 2015
+++ perl/Makefile.in	Sun Apr  5 20:53:06 2015
@@ -966,7 +966,7 @@ clean-local:
 
 auto/Search/Xapian/Xapian$(PERL_SO): Xapian.la
 	@$(MKDIR_P) auto/Search/Xapian
-	$(LIBTOOL) --config > libtoolconfig.tmp
+	$(LIBTOOL) --config | grep -v pic > libtoolconfig.tmp
 	. ./libtoolconfig.tmp; cp "$$objdir/Xapian$(PERL_SO)" auto/Search/Xapian
 	rm -f libtoolconfig.tmp
 
