diff options
author | abs <abs@pkgsrc.org> | 2004-06-27 21:40:18 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2004-06-27 21:40:18 +0000 |
commit | 27b17743468a26adfbbec085216a56cdc99b6927 (patch) | |
tree | 3c50559452ed509b31eaecca65b84afea4a31def /graphics/cambevao | |
parent | 31656acbb784cc40e9ac180fdaac6871156c542d (diff) | |
download | pkgsrc-27b17743468a26adfbbec085216a56cdc99b6927.tar.gz |
Feeding back the patches to the author and waiting for a new release
before importing the package to avoid having to commit the patches is
a good idea. Committing them anyway in a temp dir is not...
Diffstat (limited to 'graphics/cambevao')
-rw-r--r-- | graphics/cambevao/patches.x/patch-aa | 37 | ||||
-rw-r--r-- | graphics/cambevao/patches.x/patch-ab | 23 |
2 files changed, 0 insertions, 60 deletions
diff --git a/graphics/cambevao/patches.x/patch-aa b/graphics/cambevao/patches.x/patch-aa deleted file mode 100644 index 6fc5a4a3083..00000000000 --- a/graphics/cambevao/patches.x/patch-aa +++ /dev/null @@ -1,37 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2004/06/27 21:33:24 abs Exp $ - ---- Makefile.orig 2004-04-29 22:37:25.000000000 +0100 -+++ Makefile -@@ -1,6 +1,7 @@ - - PROGRAM = cambevao --prefix = /usr/pkg -+RCD_SCRIPT = ${PROGRAM}.rc.d -+prefix ?= /usr/pkg - exec_prefix = ${prefix} - bindir = $(exec_prefix)/bin - libdir = $(exec_prefix)/lib -@@ -8,6 +9,7 @@ includedir = $(prefix)/include - manext = 1 - mandir = $(prefix)/man/man$(manext) - -+SED = sed - RM = rm -f - INSTALL = /usr/bin/install -c -s -o root -g wheel -m 555 - CFLAGS = -Wall -O2 -I$(includedir) -DPROGRAM=\"$(PROGRAM)\" -DMAX_CONN=3 -@@ -24,11 +26,13 @@ OBJS = main.o font.o server.o log.o pref - - $(PROGRAM): $(OBJS) - $(CC) $(LDFLAGS) $(OBJS) -o $(PROGRAM) $(LDLIBS) --all: $(PROGRAM) -+$(RCD_SCRIPT): template.rc.d -+ $(SED) -e 's:@PROGRAM@:${PROGRAM}:g' -e 's:@PREFIX@:${prefix}:g' < $> > $@ -+all: $(PROGRAM) $(RCD_SCRIPT) - install: $(PROGRAM) - $(INSTALL) $(PROGRAM) $(bindir) - clean: -- $(RM) *.o $(PROGRAM) *.core -+ $(RM) *.o $(PROGRAM) $(RCD_SCRIPT) *.core - - distclean: clean - $(RM) *.jpg *.jpeg access.log diff --git a/graphics/cambevao/patches.x/patch-ab b/graphics/cambevao/patches.x/patch-ab deleted file mode 100644 index bdd54ebf5e6..00000000000 --- a/graphics/cambevao/patches.x/patch-ab +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2004/06/27 21:33:24 abs Exp $ - ---- /dev/null 2004-06-25 22:41:00.000000000 +0100 -+++ template.rc.d 2004-06-25 22:41:02.000000000 +0100 -@@ -0,0 +1,18 @@ -+#!/bin/sh -+# -+# $ NetBSD $ -+# -+# PROVIDE: @PROGRAM@ -+# REQUIRE: DAEMON -+ -+if [ -f /etc/rc.subr ] -+then -+ . /etc/rc.subr -+fi -+ -+name="@PROGRAM@" -+rcvar=$name -+command="@PREFIX@/bin/${name}" -+ -+load_rc_config $name -+run_rc_command "$1" |