blob: 4baa9047f410a83060e75a0673e30fc1a0613acf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-build_rrd.sh,v 1.3 2012/10/11 18:42:19 spz Exp $
make it possible to deal with nonstandard locations of libpng* and libz*
--- build/rrd.sh.orig 2012-07-31 13:51:12.000000000 +0000
+++ build/rrd.sh
@@ -70,6 +70,12 @@
if test "$USERRRDLIB" != ""; then
RRDLIB="$USERRRDLIB"
fi
+ if test "$USERPNGCONFIG" != ""; then
+ PNGLIB=`$USERPNGCONFIG --ldflags`
+ fi
+ if test "$USERZLIB" != ""; then
+ ZLIB="$USERZLIB"
+ fi
# See if it builds
RRDOK="YES"
|