From 2e3d04792bd553e9fa0321197e69c611cbe2e0fd Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Wed, 15 May 2002 14:26:22 +0000 Subject: Fix building under -current PR: 37944 Submitted by: obraun@informatik.unibw-muenchen.de --- databases/dbview/Makefile | 5 +++++ databases/dbview/files/patch-aa | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'databases/dbview') diff --git a/databases/dbview/Makefile b/databases/dbview/Makefile index abc4748b2157..31eeb8e6b98b 100644 --- a/databases/dbview/Makefile +++ b/databases/dbview/Makefile @@ -18,6 +18,11 @@ LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt MAN1= dbview.1 + +pre-patch: + @${PERL} -pi -e 's,,,' \ + ${WRKSRC}/db_dump.c + do-install: @ ${INSTALL_PROGRAM} ${WRKSRC}/dbview ${PREFIX}/bin @ ${INSTALL_MAN} ${WRKSRC}/dbview.1 ${PREFIX}/man/man1 diff --git a/databases/dbview/files/patch-aa b/databases/dbview/files/patch-aa index 5687d78e79dc..d41f6f4d7519 100644 --- a/databases/dbview/files/patch-aa +++ b/databases/dbview/files/patch-aa @@ -45,13 +45,13 @@ -dbview.o: version.h db_dump.h /usr/include/stdio.h /usr/include/libio.h -dbview.o: /usr/include/_G_config.h /usr/include/getopt.h +db_dump.o: db_dump.h /usr/include/fcntl.h /usr/include/sys/types.h -+db_dump.o: /usr/include/sys/cdefs.h /usr/include/sys/inttypes.h ++db_dump.o: /usr/include/sys/cdefs.h /usr/include/inttypes.h +db_dump.o: /usr/include/machine/ansi.h /usr/include/machine/types.h +db_dump.o: /usr/include/machine/endian.h /usr/include/sys/stat.h +db_dump.o: /usr/include/sys/time.h /usr/include/time.h +db_dump.o: /usr/include/sys/_posix.h /usr/include/stdio.h +db_dump.o: /usr/include/unistd.h /usr/include/sys/unistd.h -+db_dump.o: /usr/include/malloc.h /usr/include/stdlib.h /usr/include/ctype.h ++db_dump.o: /usr/include/stdlib.h /usr/include/stdlib.h /usr/include/ctype.h +db_dump.o: /usr/include/runetype.h /usr/include/string.h +dbview.o: version.h db_dump.h /usr/include/stdio.h /usr/include/sys/cdefs.h +dbview.o: /usr/include/machine/ansi.h /usr/local/include/getopt.h -- cgit v1.2.3