openbsd-ports/devel/luafs/patches/patch-Makefile

21 lines
535 B
Plaintext
Raw Normal View History

2007-05-10 16:23:29 -04:00
$OpenBSD: patch-Makefile,v 1.5 2007/05/10 20:23:29 pedro Exp $
--- Makefile.orig Thu May 10 10:10:42 2007
+++ Makefile Thu May 10 10:11:51 2007
@@ -9,10 +9,15 @@ include $(CONFIG)
2005-07-08 13:57:27 -04:00
SRCS= src/$T.c
2007-05-10 16:23:29 -04:00
OBJS= src/$T.o
+all: lib
2007-05-10 16:23:29 -04:00
+
2005-07-08 13:57:27 -04:00
lib: src/$(LIBNAME)
2005-07-08 13:57:27 -04:00
src/$(LIBNAME): $(OBJS)
2006-03-25 23:56:01 -05:00
- export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS)
+ $(CC) $(CFLAGS) $(LIB_OPTION) lfs.o -o $(LIBNAME)
2007-05-10 16:23:29 -04:00
+
2005-07-08 13:57:27 -04:00
+$(OBJS): $(SRCS)
2006-03-25 23:56:01 -05:00
+ $(CC) $(CFLAGS) $(INCS) -c src/lfs.c
2006-09-24 12:56:08 -04:00
2007-05-10 16:23:29 -04:00
install: src/$(LIBNAME)
mkdir -p $(LUA_LIBDIR)