/[gentoo-x86]/net-misc/proxytunnel/files/proxytunnel-1.6.0-build.patch
Gentoo

Contents of /net-misc/proxytunnel/files/proxytunnel-1.6.0-build.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download) (as text)
Sun Jan 26 17:46:37 2014 UTC (6 years ago) by vikraman
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
File MIME type: text/x-diff
FILE REMOVED
Fix missing -lcrypto flag

Cleanup old patch, fixes bug #496912

(Portage version: 2.2.8-r1/cvs/Linux i686, signed Manifest commit with key B0A72FD2)

1 --- Makefile
2 +++ Makefile
3 @@ -6,7 +6,7 @@
4 CFLAGS ?= -Wall -O2 -g
5 CFLAGS += -DHAVE_GETOPT_LONG -DUSE_SSL
6 CFLAGS += -DSETPROCTITLE -DSPT_TYPE=1
7 -LDFLAGS += -lssl -lcrypto
8 +LDFLAGS += -lssl $(shell pkg-config libcrypto --libs)
9
10 PREFIX =/usr/local
11 BINDIR = $(PREFIX)/bin
12 @@ -27,7 +27,7 @@
13 ntlm.o
14
15 proxytunnel: $(OBJ)
16 - $(CC) -o $(PROGNAME) $(CFLAGS) $(LDFLAGS) $(OBJ)
17 + $(CC) -o $(PROGNAME) $(CFLAGS) $(OBJ) $(LDFLAGS)
18
19 clean:
20 @rm -f $(PROGNAME) $(OBJ)
21 @@ -34,4 +34,4 @@
22
23 install:
24 install -D -m755 $(PROGNAME) $(DESTDIR)$(BINDIR)/$(PROGNAME)
25 - install -D -m644 debian/$(PROGNAME).1 $(DESTDIR)$(MANDIR))/$(PROGNAME).1
26 + install -D -m644 debian/$(PROGNAME).1 $(DESTDIR)$(MANDIR)/man1/$(PROGNAME).1

  ViewVC Help
Powered by ViewVC 1.1.20