diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-05-15 14:26:22 +0000 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-05-15 14:26:22 +0000 |
commit | a0d5182d47e7037e97182cd9e0c7c050d4e3e914 (patch) | |
tree | ac2367a9ca985cfd31720fb49607f1dae3c888a8 /databases | |
parent | cee9ec5c6a8ed5c985f116cf9a9b1ee4d6d341d8 (diff) | |
download | FreeBSD-ports-a0d5182d47e7037e97182cd9e0c7c050d4e3e914.zip FreeBSD-ports-a0d5182d47e7037e97182cd9e0c7c050d4e3e914.tar.gz |
Fix building under -current
PR: 37944
Submitted by: obraun@informatik.unibw-muenchen.de
Diffstat (limited to 'databases')
-rw-r--r-- | databases/dbview/Makefile | 5 | ||||
-rw-r--r-- | databases/dbview/files/patch-aa | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/databases/dbview/Makefile b/databases/dbview/Makefile index abc4748..31eeb8e 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,<malloc.h>,<stdlib.h>,' \ + ${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 5687d78..d41f6f4 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 |