summaryrefslogtreecommitdiff
path: root/databases/postgresql80/patches/patch-aj
blob: 87e9d37f98a4cf152f97aeab6d2a4e159603b77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aj,v 1.1 2005/09/19 05:52:18 jlam Exp $

--- config/perl.m4.orig	2003-11-29 19:51:17.000000000 +0000
+++ config/perl.m4
@@ -28,8 +28,6 @@ AC_DEFUN([PGAC_CHECK_PERL_CONFIGS],
 AC_DEFUN([PGAC_CHECK_PERL_EMBED_LDFLAGS],
 [AC_REQUIRE([PGAC_PATH_PERL])
 AC_MSG_CHECKING(for flags to link embedded Perl)
-pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts`
-pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'`
-perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"`
+perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
 AC_SUBST(perl_embed_ldflags)dnl
 AC_MSG_RESULT([$perl_embed_ldflags])])