openbsd-ports/net/rrdtool/patches/patch-src_Makefile_am
2002-12-27 15:26:07 +00:00

25 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_Makefile_am,v 1.3 2002/12/27 15:26:07 danh Exp $
--- src/Makefile.am.orig Thu Dec 26 16:08:29 2002
+++ src/Makefile.am Thu Dec 26 16:09:11 2002
@@ -13,10 +13,9 @@ ZLIB_INC_DIR = $(top_srcdir)/@ZLIB_
CGI_LIB_DIR = $(top_builddir)/@CGI_LIB_DIR@
GD_LIB_DIR = $(top_builddir)/@GD_LIB_DIR@
PNG_LIB_DIR = $(top_builddir)/@PNG_LIB_DIR@
-ZLIB_LIB_DIR = $(top_builddir)/@ZLIB_LIB_DIR@
-INCLUDES = -I$(CGI_INC_DIR) -I$(GD_INC_DIR) -I$(PNG_INC_DIR) -I$(ZLIB_INC_DIR)
+INCLUDES = -I$(CGI_INC_DIR) -I$(GD_INC_DIR) -I$(PNG_INC_DIR)
#COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_EXTRA)
#LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_EXTRA)
@@ -58,7 +57,7 @@ RRD_LIBS = \
$(CGI_LIB_DIR)/librrd_cgi.la \
$(GD_LIB_DIR)/librrd_gd.la \
$(PNG_LIB_DIR)/librrd_png.la \
- $(ZLIB_LIB_DIR)/librrd_z.la
+ -lz
lib_LTLIBRARIES = librrd.la
noinst_LTLIBRARIES = librrd_private.la