
$FreeBSD: ports/databases/gnomedb/files/patch-configure,v 1.6 2002/01/14 19:03:39 sobomax Exp $

--- configure.orig	Mon Jan 14 20:31:37 2002
+++ configure	Mon Jan 14 20:51:03 2002
@@ -8877,7 +8877,7 @@
 		PERL_CC=`perl -MConfig -e 'print $Config{cc},"\n";'`
 		PERL_LD=`perl -MConfig -e 'print $Config{ld},"\n";'`
 		PERL_CCOPTS=`perl -MExtUtils::Embed -e ccopts`
-		PERL_LDOPTS=`perl -MExtUtils::Embed -e ldopts`
+		PERL_LDOPTS=`perl -MExtUtils::Embed -e '$_ = ldopts(1); s/-lc //g; print $_ . "\n"'`
 		
 		
 		
