summaryrefslogtreecommitdiff
path: root/databases/rrdtool/patches/patch-ah
blob: c769e4ede2f455c346b72798e96f8835d50e5ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
$NetBSD: patch-ah,v 1.8 2003/02/16 23:08:58 seb Exp $

--- contrib/trytime/Makefile.in.orig	Tue Feb  4 14:44:49 2003
+++ contrib/trytime/Makefile.in
@@ -87,9 +87,9 @@ VERSION = @VERSION@
 ZLIB_CFLAGS = @ZLIB_CFLAGS@
 ZLIB_LIB_DIR = @ZLIB_LIB_DIR@
 
-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/gd1.3
+INCLUDES = -I$(top_srcdir)/src
 EXTRA_DIST = trytime.c
-contribdir = $(prefix)/contrib/trytime
+contribdir = $(prefix)/share/rrdtool/contrib/trytime
 contrib_DATA = README trytime.c
 bin_PROGRAMS = trytime
 trytime_SOURCES = trytime.c
@@ -121,7 +121,7 @@ PACKAGE = @PACKAGE@
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = gtar
+TAR = tar
 GZIP_ENV = --best
 SOURCES = $(trytime_SOURCES)
 OBJECTS = $(trytime_OBJECTS)
@@ -130,7 +130,7 @@ all: all-redirect
 .SUFFIXES:
 .SUFFIXES: .S .c .lo .o .s
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
-	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps contrib/trytime/Makefile
+	cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps contrib/trytime/Makefile
 
 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
 	cd $(top_builddir) \
@@ -260,17 +260,13 @@ distdir: $(DISTFILES)
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
-	    cp -pr $$d/$$file $(distdir)/$$file; \
+	    cp -pr $$/$$file $(distdir)/$$file; \
 	  else \
 	    test -f $(distdir)/$$file \
 	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
 	    || cp -p $$d/$$file $(distdir)/$$file || :; \
 	  fi; \
 	done
-trytime.o: trytime.c ../../src/getopt.h ../../src/rrd_tool.h \
-	../../config/config.h ../../src/rrd.h ../../src/rrd_format.h \
-	../../gd1.3/gd.h
-
 info-am:
 info: info-am
 dvi-am: