summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-01-25 16:40:29 +0100
committerMichael Weber <xmw@gentoo.org>2017-01-25 17:11:31 +0100
commit4cdf54400d1fed0c515137f82e3535a5fcac05ac (patch)
tree71624c7d9fb70769977b5e3791e952acfbb1c12c /net-misc/balance/files
parentnet-misc/balance: Version bump, drop USE=doc (no need to install pdf version ... (diff)
downloadgentoo-4cdf54400d1fed0c515137f82e3535a5fcac05ac.tar.gz
gentoo-4cdf54400d1fed0c515137f82e3535a5fcac05ac.tar.bz2
gentoo-4cdf54400d1fed0c515137f82e3535a5fcac05ac.zip
net-misc/balance: Drop old version.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-misc/balance/files')
-rw-r--r--net-misc/balance/files/balance-3.54-Makefile.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/net-misc/balance/files/balance-3.54-Makefile.patch b/net-misc/balance/files/balance-3.54-Makefile.patch
deleted file mode 100644
index 8b231aaa8316..000000000000
--- a/net-misc/balance/files/balance-3.54-Makefile.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- balance-3.54/Makefile
-+++ balance-3.54/Makefile
-@@ -1,14 +1,14 @@
- # $Id$
-
- #CFLAGS=-g -I.
--CFLAGS=-O2 -Wall -Wstrict-prototypes -Wuninitialized
-+CFLAGS+=-Wall -Wstrict-prototypes -Wuninitialized
-
- # uncomment for any OS other than Cygwin
- BALANCE=balance
- ROOT=root
- INSTALL=install
- BINDIR=/usr/sbin
--MANDIR=${BINDIR}/../man/man1
-+MANDIR=/usr/share/man/man1
-
- # uncomment for Solaris:
- # LIBRARIES=-lsocket -lnsl
-@@ -20,13 +20,13 @@
- # BALANCE=balance.exe
- # ROOT=Administrators
-
--CC=gcc
-+CC?=gcc
- RELEASE=3.54
-
- all: balance
-
- balance: balance.o butils.o
-- $(CC) $(CFLAGS) -I. -o balance balance.o butils.o $(LIBRARIES)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -I. -o balance balance.o butils.o $(LIBRARIES)
-
- balance.o: balance.c balance.h
- $(CC) $(CFLAGS) -I. -c balance.c
-@@ -48,12 +48,15 @@
- rm -f $(BALANCE) *.o balance.ps balance.pdf
-
- install:
-+ $(INSTALL) -o $(ROOT) -g $(ROOT) -m 755 -d \
-+ $(DESTDIR)$(BINDIR) \
-+ $(DESTDIR)$(MANDIR)
- $(INSTALL) -o $(ROOT) -g $(ROOT) -m 755 $(BALANCE) \
- $(DESTDIR)$(BINDIR)/$(BALANCE)
- $(INSTALL) -o $(ROOT) -g $(ROOT) -m 755 balance.1 \
- $(DESTDIR)$(MANDIR)
- mkdir -p $(DESTDIR)/var/run/balance
-- chmod 1777 $(DESTDIR)/var/run/balance
-+ chmod 1755 $(DESTDIR)/var/run/balance
-
- release: balance.pdf
- rm -rf ./releases/balance-$(RELEASE)