openbsd-ports/net/rrdtool/patches/patch-src_Makefile_am
2004-06-08 20:21:24 +00:00

22 lines
599 B
Plaintext

$OpenBSD: patch-src_Makefile_am,v 1.5 2004/06/08 20:21:24 danh Exp $
--- src/Makefile.am.orig 2004-04-04 17:50:09.000000000 -0400
+++ src/Makefile.am 2004-06-08 15:33:40.000000000 -0400
@@ -42,8 +42,6 @@ AM_CPPFLAGS = -I$(CGI_INC_DIR) -I$(GD_IN
RRD_C_FILES = \
gdpng.c \
- getopt.c \
- getopt1.c \
gifsize.c \
parsetime.c \
pngsize.c \
@@ -90,7 +88,7 @@ librrd_la_LDFLAGS = -version-inf
include_HEADERS = rrd.h
librrd_private_la_LIBADD = $(RRD_LIBS)
-librrd_private_la_LDFLAGS = -static
+librrd_private_la_LDFLAGS = -prefer-pic
bin_PROGRAMS = rrdcgi rrdtool rrdupdate