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