openbsd-ports/net/luasocket/patches/patch-src_makefile
2006-09-23 18:05:31 +00:00

52 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_makefile,v 1.2 2006/09/23 18:05:31 pedro Exp $
--- src/makefile.orig Thu Apr 27 00:23:21 2006
+++ src/makefile Sat Sep 23 14:14:11 2006
@@ -11,42 +11,21 @@ include ../config
# Modules belonging to socket-core
#
-SOCKET_OBJS:= \
- $(COMPAT)/compat-5.1.o \
- luasocket.o \
- timeout.o \
- buffer.o \
- io.o \
- auxiliar.o \
- options.o \
- inet.o \
- tcp.o \
- udp.o \
- except.o \
- select.o \
- usocket.o
+SOCKET_OBJS:= luasocket.o timeout.o buffer.o io.o auxiliar.o options.o inet.o \
+ tcp.o udp.o except.o select.o usocket.o
#------
# Modules belonging mime-core
#
-MIME_OBJS:=\
- $(COMPAT)/compat-5.1.o \
- mime.o
+MIME_OBJS:= mime.o
#------
# Modules belonging unix (local domain sockets)
#
-UNIX_OBJS:=\
- buffer.o \
- auxiliar.o \
- options.o \
- timeout.o \
- io.o \
- usocket.o \
- unix.o
+UNIX_OBJS:= buffer.o auxiliar.o options.o timeout.o io.o usocket.o unix.o
-all: $(SOCKET_SO) $(MIME_SO)
+all: $(SOCKET_SO) $(MIME_SO) $(UNIX_SO)
$(SOCKET_SO): $(SOCKET_OBJS)
$(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS)