openbsd-ports/audio/rsynth/patches/patch-ac
espie 1389d9c2fc Replace *huge* files by a simple config.sub patch, plus an explicit
config system, courtesy of gcc.
Find gdbm, link against it, fix dependency.
Fake.

There is probably more to install, some dictionaries to build, and I have
a hunch the audio output is Ulaw where it should be linear, but this will
wait...
2000-04-08 17:30:15 +00:00

24 lines
702 B
Plaintext

--- Makefile.in.orig Tue Nov 8 14:30:52 1994
+++ Makefile.in Sat Apr 8 18:55:14 2000
@@ -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@ -lossaudio
+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