summaryrefslogtreecommitdiff
path: root/net/balance
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-04-01 11:28:29 +0000
committerjperkin <jperkin@pkgsrc.org>2016-04-01 11:28:29 +0000
commitea7de85d503ffe85cbc12dc59078b27bc6c24d93 (patch)
tree5643786cfd17a8ab885a7ea54603d7b6ea97a2dc /net/balance
parent744c768c9737ee912828d1a5606a2988bd74b05d (diff)
downloadpkgsrc-ea7de85d503ffe85cbc12dc59078b27bc6c24d93.tar.gz
Use PKGMANDIR and ensure the path isn't dependent on BINDIR.
Diffstat (limited to 'net/balance')
-rw-r--r--net/balance/distinfo4
-rw-r--r--net/balance/patches/patch-aa10
2 files changed, 8 insertions, 6 deletions
diff --git a/net/balance/distinfo b/net/balance/distinfo
index 8afcd6dbb71..a72eaa50ad9 100644
--- a/net/balance/distinfo
+++ b/net/balance/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2015/11/04 00:34:53 agc Exp $
+$NetBSD: distinfo,v 1.10 2016/04/01 11:28:29 jperkin Exp $
SHA1 (balance-3.57.tar.gz) = d10dbb01de10954d49be199018872cd168533ba3
RMD160 (balance-3.57.tar.gz) = bf971da19de825c6b6b93528b30ac7b823fcc4f0
SHA512 (balance-3.57.tar.gz) = 191195e2aa62c867d85085f273db911e8957c3eea7bed8e58abc29e125a0b0a4487048c7db5857e32f54545de1f81f8148b174225aaf8cf1e3a66e4b040748b4
Size (balance-3.57.tar.gz) = 35547 bytes
-SHA1 (patch-aa) = fe9df5adc722a2fd855400aa7eac46987f58dc44
+SHA1 (patch-aa) = e5b299719a061451dbad465daabc3b56205a1ef0
SHA1 (patch-ab) = b06c77231c223250f9dc20789d972f8e63dca9fa
diff --git a/net/balance/patches/patch-aa b/net/balance/patches/patch-aa
index a5bfff961fb..8d655a6f2a2 100644
--- a/net/balance/patches/patch-aa
+++ b/net/balance/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 2015/09/05 16:16:03 wiedi Exp $
+$NetBSD: patch-aa,v 1.6 2016/04/01 11:28:29 jperkin Exp $
* Adjust for pkgsrc installation.
@@ -11,13 +11,15 @@ $NetBSD: patch-aa,v 1.5 2015/09/05 16:16:03 wiedi Exp $
+#CFLAGS=-O2 -Wall -Wstrict-prototypes -Wuninitialized
# uncomment for any OS other than Cygwin
-@@ -8,5 +8,5 @@ BALANCE=balance
+@@ -8,6 +8,6 @@ BALANCE=balance
ROOT=root
INSTALL=install
-BINDIR=/usr/sbin
+-MANDIR=${BINDIR}/../man/man1
+BINDIR=${PREFIX}/sbin
- MANDIR=${BINDIR}/../man/man1
++MANDIR=${PREFIX}/${PKGMANDIR}/man1
+ # uncomment for Solaris:
@@ -21,5 +21,5 @@ MANDIR=${BINDIR}/../man/man1
# ROOT=Administrators
@@ -25,7 +27,7 @@ $NetBSD: patch-aa,v 1.5 2015/09/05 16:16:03 wiedi Exp $
+#CC=gcc
RELEASE=3.57
-@@ -27,8 +27,8 @@ all: balance
+@@ -27,8 +27,8 @@ all: balance
balance: balance.o butils.o
- $(CC) $(CFLAGS) -I. -o balance balance.o butils.o $(LIBRARIES)