patch-Makefile_in 767 B

12345678910111213141516171819202122232425
  1. $OpenBSD: patch-Makefile_in,v 1.2 2009/12/24 21:45:29 jakemsr Exp $
  2. --- Makefile.in.orig Tue Nov 8 14:30:52 1994
  3. +++ Makefile.in Mon Dec 31 10:31:55 2001
  4. @@ -5,8 +5,9 @@ SRCDIR = @srcdir@
  5. CC = @CC@
  6. PREFIX = @prefix@
  7. BIN_DIR = $(PREFIX)/bin
  8. -LIB_DIR = $(PREFIX)/lib/dict
  9. -LDLIBS = @LIBS@
  10. +LIB_DIR = $(PREFIX)/share/dict
  11. +LDLIBS = @LIBS@ -lsndio
  12. +LDFLAGS = @LDFLAGS@
  13. XLIBS = @XLIBS@
  14. CFLAGS = @CFLAGS@
  15. CPPFLAGS = @CPPFLAGS@
  16. @@ -67,7 +68,7 @@ install : $(PROGS) $(DICTS)
  17. for f in $(PROGS); do \
  18. $(INSTALL_PROG) $$f $(BIN_DIR); \
  19. done
  20. - $(INSTALL) -d $(LIB_DIR)
  21. + if [ ! -d $(LIB_DIR) ]; then mkdir -p $(LIB_DIR); fi
  22. for f in $(DICTS); do \
  23. $(INSTALL_DATA) $$f $(LIB_DIR); \
  24. done