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...
This commit is contained in:
espie 2000-04-08 17:30:15 +00:00
parent 1ecb595edf
commit 1389d9c2fc
6 changed files with 48 additions and 5694 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2000/03/24 23:28:02 espie Exp $
# $OpenBSD: Makefile,v 1.13 2000/04/08 17:30:15 espie Exp $
DISTNAME= rsynth-2.0
CATEGORIES= audio
@ -8,19 +8,22 @@ MASTER_SITES= ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/synthesis/
MAINTAINER= angelos@openbsd.org
LICENSE_TYPE= NONE
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FAKE= Yes
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a::databases/gdbm
LIB_DEPENDS= gdbm.::databases/gdbm
CONFIGURE_ENV=LDFLAGS=-L${LOCALBASE}/lib CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_ARGS=`$(CC) -dumpmachine`
USE_AUTOCONF= Yes
SEPARATE_BUILD= Yes
GNU_CONFIGURE= yes
pre-configure:
@cp ${FILESDIR}/openbsdplay.c ${WRKSRC}/config/openbsdplay.c
@cp ${FILESDIR}/config.guess ${WRKSRC}/config.guess
@cp ${FILESDIR}/config.sub ${WRKSRC}/config.sub
@cp ${FILESDIR}/configure ${WRKSRC}/configure
.include <bsd.port.mk>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,36 +1,23 @@
*** Makefile.in.orig Tue Nov 8 08:30:52 1994
--- Makefile.in Sun Jun 7 21:42:00 1998
***************
*** 6,12 ****
--- 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)/lib/dict
-LDLIBS = @LIBS@
+LIB_DIR = $(PREFIX)/share/dict
+LDLIBS = @LIBS@ -lossaudio
+LDFLAGS = @LDFLAGS@
XLIBS = @XLIBS@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
--- 6,12 ----
PREFIX = @prefix@
BIN_DIR = $(PREFIX)/bin
! LIB_DIR = $(PREFIX)/share/dict
! LDLIBS = @LIBS@ -lossaudio
XLIBS = @XLIBS@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
***************
*** 67,73 ****
@@ -67,7 +68,7 @@ install : $(PROGS) $(DICTS)
for f in $(PROGS); do \
$(INSTALL_PROG) $$f $(BIN_DIR); \
done
! $(INSTALL) -d $(LIB_DIR)
for f in $(DICTS); do \
$(INSTALL_DATA) $$f $(LIB_DIR); \
done
--- 67,73 ----
for f in $(PROGS); do \
$(INSTALL_PROG) $$f $(BIN_DIR); \
done
! if [ ! -d $(LIB_DIR) ]; then mkdir -p $(LIB_DIR); fi
- $(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

View File

@ -0,0 +1,11 @@
--- config.sub.orig Mon Oct 31 14:41:52 1994
+++ config.sub Sat Apr 8 19:15:47 2000
@@ -704,7 +704,7 @@ case $os in
| -amigados* | -msdos* | -newsos* | -unicos* | -aos* \
| -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
| -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
- | -hiux* | -386bsd* | -netbsd* | -riscix* | -lynxos* \
+ | -hiux* | -386bsd* | -netbsd* | -openbsd* | -riscix* | -lynxos* \
| -go32 | -vsta | -sim | -es1800* | -udi | -hms* | -xray | -hds* \
| -os68k* | -none* | -v88r* | -aout* | -coff | -elf* | -bosx* \
| -abug | -ecoff* | -netware* | -os9* )