summaryrefslogtreecommitdiff
path: root/net/xymon
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2011-10-15 23:04:51 +0000
committerspz <spz@pkgsrc.org>2011-10-15 23:04:51 +0000
commitf173f3e257b50999974dc29e5326a1ea5c5825c7 (patch)
tree0bcb82e83f894797fa2f0abb1764fc4b9ad0b6d0 /net/xymon
parent041b1af98717479f040fd77b8abbed5134457952 (diff)
downloadpkgsrc-f173f3e257b50999974dc29e5326a1ea5c5825c7.tar.gz
reanimate dhollands changes that play ok with 4.3.5
Diffstat (limited to 'net/xymon')
-rw-r--r--net/xymon/patches/patch-ad20
-rw-r--r--net/xymon/patches/patch-configure20
2 files changed, 39 insertions, 1 deletions
diff --git a/net/xymon/patches/patch-ad b/net/xymon/patches/patch-ad
index 39668ba4d78..5106dc86d24 100644
--- a/net/xymon/patches/patch-ad
+++ b/net/xymon/patches/patch-ad
@@ -1,4 +1,7 @@
-$NetBSD: patch-ad,v 1.4 2011/10/15 18:09:28 dholland Exp $
+$NetBSD: patch-ad,v 1.5 2011/10/15 23:04:51 spz Exp $
+
+- netbsd has stdint.h
+- remove stray commas
--- build/Makefile.NetBSD.orig 2011-03-08 17:20:28.000000000 +0000
+++ build/Makefile.NetBSD
@@ -11,3 +14,18 @@ $NetBSD: patch-ad,v 1.4 2011/10/15 18:09:28 dholland Exp $
# NETLIBS: None needed
NETLIBS =
+@@ -10,12 +10,12 @@ NETLIBS =
+ CC= gcc
+ PKGDIR?=/usr/pkg
+ CFLAGS = -g -O2 -Wall -Wno-unused -D_REENTRANT $(LFSDEF) $(OSDEF) \
+- -I${PKGDIR}/include -L${PKGDIR}/lib, -Wl,--rpath=${PKGDIR}/lib
++ -I${PKGDIR}/include -L${PKGDIR}/lib -Wl,--rpath=${PKGDIR}/lib
+ RPATH = "-Wl,--rpath,"
+
+ # Compile flags for debugging
+ # CFLAGS = -g -DDEBUG -Wall -D_REENTRANT $(LFSDEF) $(OSDEF) \
+- -I${PKGDIR}/include -L${PKGDIR}/lib, -Wl,--rpath=${PKGDIR}/lib
++ -I${PKGDIR}/include -L${PKGDIR}/lib -Wl,--rpath=${PKGDIR}/lib
+
+ # Mail program: This must support "CMD -s SUBJECT ADDRESS" to send out a mail with a subject
+ # Typically, this will be "mail" or "mailx"
diff --git a/net/xymon/patches/patch-configure b/net/xymon/patches/patch-configure
new file mode 100644
index 00000000000..90834318666
--- /dev/null
+++ b/net/xymon/patches/patch-configure
@@ -0,0 +1,20 @@
+$NetBSD: patch-configure,v 1.3 2011/10/15 23:04:51 spz Exp $
+
+Make sure the toplevel configure script exits on failure.
+
+--- configure.orig 2011-03-08 17:20:28.000000000 +0000
++++ configure
+@@ -14,11 +14,11 @@ chmod 755 $BASEDIR/configure* $BASEDIR/b
+
+ case "$TARGET" in
+ "--client")
+- $BASEDIR/configure.client $*
++ $BASEDIR/configure.client "$@" || exit 1
+ ;;
+
+ "--server"|"")
+- $BASEDIR/configure.server $*
++ $BASEDIR/configure.server "$@" || exit 1
+ ;;
+
+ "--help")