openbsd-ports/net/rrdtool/patches/patch-src_Makefile_am
2002-05-17 15:41:30 +00:00

25 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_Makefile_am,v 1.2 2002/05/17 15:41:30 danh Exp $
--- src/Makefile.am.orig Fri May 17 11:22:34 2002
+++ src/Makefile.am Fri May 17 11:23:12 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)
@@ -56,7 +55,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