summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ac
blob: c83eec3435b123724b3b977c7187f1938d61dcf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ac,v 1.19 2014/06/04 00:21:33 dsainty Exp $

We intentionally wire down the 'libswanted' list in the package Makefile,
so don't let the hints file add new libraries that may be found outside
Pkgsrc control.

--- hints/linux.sh.orig	2014-05-26 13:34:20.000000000 +0000
+++ hints/linux.sh
@@ -61,10 +61,6 @@
 
 # Debian 4.0 puts ndbm in the -lgdbm_compat library.
 echo $libs
-if echo " $libswanted " | grep -q ' gdbm '; then
-    # Only add if gdbm is in libswanted.
-    libswanted="$libswanted gdbm_compat"
-fi
 
 # Configure may fail to find lstat() since it's a static/inline
 # function in <sys/stat.h>.