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

24 lines
542 B
Plaintext
Raw Normal View History

--- Makefile.orig Thu Feb 13 08:04:39 2003
+++ Makefile Sun Mar 2 13:57:31 2003
@@ -10,7 +10,7 @@ OBJTYPE!=uname -m | sed 's;i.86;386;; s;
# the gnu rules will mess up bsd but not vice versa,
# hence the gnu rules come first.
-include Make.$(SYSNAME)-$(OBJTYPE)
+include Make.$(SYSNAME)
PREFIX=/usr/local
@@ -80,9 +80,11 @@ strtod.$O: nan.h
test: $(LIB) test.$O
$(CC) -o test test.$O $(LIB) -L$(PREFIX)/lib -lutf
+ ./test
$(LIB): $(OFILES)
$(AR) $(ARFLAGS) $(LIB) $(OFILES)
+ $(RANLIB) $(LIB)
NUKEFILES+=$(LIB)
.c.$O: