mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
d4b7910f80
mudlet Closes #4269
24 lines
616 B
Diff
24 lines
616 B
Diff
--- a/Makefile 2007-10-30 01:59:10.000000000 +0300
|
|
+++ b/Makefile 2014-09-18 11:04:53.176320021 +0400
|
|
@@ -6,10 +6,6 @@
|
|
|
|
include $(CONFIG)
|
|
|
|
-ifeq "$(LUA_VERSION_NUM)" "500"
|
|
-COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
|
|
-endif
|
|
-
|
|
SRCS= src/lua$T.c
|
|
OBJS= src/lua$T.o $(COMPAT_O)
|
|
|
|
@@ -19,9 +15,6 @@
|
|
src/$(LIBNAME): $(OBJS)
|
|
export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) -lzzip
|
|
|
|
-$(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c
|
|
- $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c
|
|
-
|
|
install: src/$(LIBNAME)
|
|
mkdir -p $(LUA_LIBDIR)
|
|
cp src/$(LIBNAME) $(LUA_LIBDIR)
|