summaryrefslogtreecommitdiff
path: root/databases/postgresql82/patches/patch-ab
blob: 8ae14fdb3d3cbaf7f527654bbcbcf3ed5e86b427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.5 2009/02/07 17:44:41 adam Exp $

--- configure.orig	2009-01-30 04:13:33.000000000 +0100
+++ configure
@@ -1504,6 +1504,7 @@ case $host_os in
   darwin*) template=darwin ;;
     dgux*) template=dgux ;;
  freebsd*) template=freebsd ;;
+ dragonfly*) template=dragonfly ;;
     hpux*) template=hpux ;;
     irix*) template=irix ;;
  linux*|gnu*|k*bsd*-gnu)
@@ -4953,9 +4954,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6
 
 echo "$as_me:$LINENO: checking for flags to link embedded Perl" >&5
 echo $ECHO_N "checking for flags to link embedded Perl... $ECHO_C" >&6
-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`
 if test -z "$perl_embed_ldflags" ; then
 	echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6