Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 42479 Details for
Bug 63644
libepoll ebuild (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0.11-makefile.patch
0.11-makefile.patch (text/plain), 1.57 KB, created by
SpanKY
on 2004-10-23 23:28:20 UTC
(
hide
)
Description:
0.11-makefile.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2004-10-23 23:28:20 UTC
Size:
1.57 KB
patch
obsolete
>--- epoll-lib-0.11/Makefile.orig 2004-10-24 02:17:11.175535512 -0400 >+++ epoll-lib-0.11/Makefile 2004-10-24 02:20:01.444650672 -0400 >@@ -11,11 +11,12 @@ > # > # > >-PREFIX=/usr >+PREFIX=$(DESTDIR)/usr > KERNELDIR=/usr/src/linux > VERMAJOR=0 > VERMINOR=11 > LIBVER=$(VERMAJOR).$(VERMINOR) >+EPOLLCFG=release > > OUTDIR = lib > TARGET = $(OUTDIR)/libepoll.a >@@ -30,10 +31,9 @@ > AR = ar > MAKE = make > >-ifeq ($(EPOLLCFG), release) >-CFLAGS = -O3 $(INCLUDE) -DUNIX >-else >-CFLAGS = -g $(INCLUDE) -DUNIX -D_DEBUG >+CFLAGS += $(INCLUDE) -DUNIX >+ifneq ($(EPOLLCFG), release) >+CFLAGS += -D_DEBUG > endif > > SOURCES = $(SRCDIR)/epoll.c >@@ -43,7 +43,7 @@ > MKDEP = mkdep -f .depend > > >-$(OUTDIR)/%.o: $(SRCDIR)/%.c >+$(OUTDIR)/%.o: $(SRCDIR)/%.c .depend > $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(SRCDIR)/$*.c > > all: .depend $(TARGET) epoll-example >@@ -55,10 +55,11 @@ > $(AR) -cr $(TARGET) $(OBJECTS) > $(LD) -shared -soname $(TARGET_SONAME) -o $(SO_TARGET) $(OBJECTS) > >-epoll-example: >+epoll-example: $(TARGET) > $(MAKE) -C examples > > install: $(TARGET) >+ mkdir -p $(PREFIX)/include/sys $(PREFIX)/lib $(PREFIX)/man/man2 $(PREFIX)/man/man4 > @cp -f include/epoll.h $(PREFIX)/include/sys > @cp -f $(TARGET) $(SO_TARGET) $(PREFIX)/lib > @cp -f man/*.2 $(PREFIX)/man/man2 >--- epoll-lib-0.11/examples/Makefile.orig 2004-10-24 02:20:27.652666448 -0400 >+++ epoll-lib-0.11/examples/Makefile 2004-10-24 02:20:55.189480216 -0400 >@@ -18,11 +18,7 @@ > > CC = gcc > >-ifeq ($(EPOLLCFG), release) >-CFLAGS = -O3 $(INCLUDE) -DUNIX >-else >-CFLAGS = -g $(INCLUDE) -DUNIX -D_DEBUG >-endif >+CFLAGS += -I../include > > SOURCES = $(SRCDIR)/epoll-test.c >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 63644
:
39384
|
42478
| 42479