summaryrefslogtreecommitdiff
path: root/net/mrtg
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-11-01 03:37:35 +0000
committerjlam <jlam@pkgsrc.org>1999-11-01 03:37:35 +0000
commitfffb0b7af0b95cb2eda9e6856e92daee694f8ea7 (patch)
tree669b1e99030e4505bdf098bb0e5bb3ee6e4b41d1 /net/mrtg
parent370d53575f5b4feffaf0705354cda15c89347d07 (diff)
downloadpkgsrc-fffb0b7af0b95cb2eda9e6856e92daee694f8ea7.tar.gz
* Modify to support gd-1.7.3.
Diffstat (limited to 'net/mrtg')
-rw-r--r--net/mrtg/Makefile7
-rw-r--r--net/mrtg/files/patch-sum3
-rw-r--r--net/mrtg/patches/patch-aa22
3 files changed, 28 insertions, 4 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile
index d3b898aa422..21572a07987 100644
--- a/net/mrtg/Makefile
+++ b/net/mrtg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1999/08/28 23:25:30 kim Exp $
+# $NetBSD: Makefile,v 1.11 1999/11/01 03:37:35 jlam Exp $
# FreeBSD Id: Makefile,v 1.7 1997/12/16 19:42:17 vanilla Exp
#
@@ -16,11 +16,12 @@ MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/ \
MAINTAINER= tv@netbsd.org
HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
-DEPENDS= gd-1.6.3:../../graphics/gd
+DEPENDS= gd-1.7.3:../../graphics/gd
USE_PERL5= YES
+USE_X11= YES
GNU_CONFIGURE= YES
-CONFIGURE_ARGS= --with-gd-inc=${PREFIX}/include --with-gd-lib=${PREFIX}/lib
+CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include
post-build:
${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/mrtg.conf.example \
diff --git a/net/mrtg/files/patch-sum b/net/mrtg/files/patch-sum
index 395d1f8d59a..f23a983a2cb 100644
--- a/net/mrtg/files/patch-sum
+++ b/net/mrtg/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:12:23 agc Exp $
+$NetBSD: patch-sum,v 1.2 1999/11/01 03:37:36 jlam Exp $
+MD5 (patch-aa) = 700890bdd408b85f779b88cb95a7b987
MD5 (patch-ab) = 60d615ef73c9ab66d0127d6900b125f6
diff --git a/net/mrtg/patches/patch-aa b/net/mrtg/patches/patch-aa
new file mode 100644
index 00000000000..b9ee5c09257
--- /dev/null
+++ b/net/mrtg/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.6 1999/11/01 03:37:36 jlam Exp $
+
+--- configure.orig Thu Aug 26 17:25:08 1999
++++ configure Sun Oct 31 00:47:15 1999
+@@ -1053,7 +1053,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lgd -lpng -lz $LIBS"
++LIBS="-lgd -lpng -lz -lttf -lintl -lXpm -lX11 $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1059 "configure"
+ #include "confdefs.h"
+@@ -1083,7 +1083,7 @@
+ echo "$ac_t""yes" 1>&6
+
+ CFLAGS="$CFLAGS -DGFORM_GD=gdImagePng"
+- LDFLAGS="$LDFLAGS -lpng -lz"
++ LDFLAGS="$LDFLAGS -lpng -lz -lttf -lintl -lXpm -lX11"
+ GDFORM_EXT=png
+
+ else