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

24 lines
648 B
Plaintext
Raw Normal View History

2006-03-25 23:56:01 -05:00
$OpenBSD: patch-Makefile,v 1.3 2006/03/26 04:56:02 pedro Exp $
--- Makefile.orig Sat Mar 25 23:57:54 2006
+++ Makefile Sat Mar 25 23:58:13 2006
@@ -8,13 +8,17 @@ include $(CONFIG)
2005-07-08 13:57:27 -04:00
COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
SRCS= src/$T.c
-OBJS= src/$T.o $(COMPAT_O)
+OBJS= src/$T.o
+all: lib
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)
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
2005-07-08 13:57:27 -04:00
$(COMPAT_O): $(COMPAT_DIR)/compat-5.1.c
$(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c