void-packages/srcpkgs/luasocket/patches/luasocket-unixsocket.patch

32 lines
952 B
Diff
Raw Normal View History

--- makefile 2007-10-15 04:21:05.000000000 +0000
+++ makefile 2011-03-09 12:00:54.000000000 +0000
@@ -10,6 +10,8 @@
INSTALL_SOCKET_LIB=$(INSTALL_TOP_LIB)/socket
INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime
INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime
+#
+INSTALL_UNIX_LIB=$(INSTALL_SOCKET_LIB)
all clean:
cd src; $(MAKE) $@
@@ -45,6 +47,8 @@
#cd src; $(INSTALL_DATA) $(TO_MIME_SHARE) $(INSTALL_MIME_SHARE)
cd src; mkdir -p $(INSTALL_MIME_LIB)
cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT)
+ cd src; install -d $(INSTALL_UNIX_LIB)
+ cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_UNIX_LIB)/$(UNIX_SO)
#------
# End of makefile
--- src/makefile 2007-10-15 04:21:05.000000000 +0000
+++ src/makefile 2011-03-09 12:02:25.000000000 +0000
@@ -47,7 +47,7 @@
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)