Gentoo Archives: gentoo-commits

From: "Johann Schmitz (ercpe)" <ercpe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/grok/files: 0.9.2-Makefile.patch
Date: Sat, 31 May 2014 12:59:13
Message-Id: 20140531125909.273B32004E@flycatcher.gentoo.org
1 ercpe 14/05/31 12:59:09
2
3 Added: 0.9.2-Makefile.patch
4 Log:
5 New ebuild for dev-libs/grok
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
8
9 Revision Changes Path
10 1.1 dev-libs/grok/files/0.9.2-Makefile.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/grok/files/0.9.2-Makefile.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/grok/files/0.9.2-Makefile.patch?rev=1.1&content-type=text/plain
14
15 Index: 0.9.2-Makefile.patch
16 ===================================================================
17 diff --git a/grok-0.9.2/Makefile b/grok-0.9.2/Makefile
18 index adfe869..d5531b2 100644
19 --- a/grok-0.9.2/Makefile
20 +++ b/grok-0.9.2/Makefile
21 @@ -97,6 +97,7 @@ install: libgrok.$(LIBSUFFIX) grok discogrok $(GROKHEADER)
22 install -m 755 grok $(DESTDIR)$(PREFIX)/bin
23 install -m 755 discogrok $(DESTDIR)$(PREFIX)/bin
24 install -m 644 libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib
25 + ln -s libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib/libgrok.$(LIBSUFFIX).1
26 for header in $(GROKHEADER); do \
27 install -m 644 $$header $(DESTDIR)$(PREFIX)/include; \
28 done
29 @@ -162,14 +163,14 @@ cleanver:
30 # Binary creation
31 grok: LDFLAGS+=-levent
32 grok: $(GROKOBJ) conf.tab.o conf.yy.o main.o grok_config.o
33 - $(CC) $(LDFLAGS) $^ -o $@
34 + $(CC) $^ $(LDFLAGS) -o $@
35
36 discogrok: $(GROKOBJ) discover_main.o
37 - $(CC) $(LDFLAGS) $^ -o $@
38 + $(CC) $^ $(LDFLAGS) -o $@
39
40 libgrok.$(LIBSUFFIX):
41 libgrok.$(LIBSUFFIX): $(GROKOBJ)
42 - $(CC) $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) $^ -o $@
43 + $(CC) $^ $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) -o $@
44
45 libgrok.$(VERLIBSUFFIX): libgrok.$(LIBSUFFIX);
46 ln -s $< $@