diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-05-15 14:26:22 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-05-15 14:26:22 +0000 |
commit | 2e3d04792bd553e9fa0321197e69c611cbe2e0fd (patch) | |
tree | 978bf3b34143ce2b12d96eecb49d9043b6f9bc43 /databases/dbview | |
parent | Fix building under -current (diff) |
Fix building under -current
PR: 37944
Submitted by: obraun@informatik.unibw-muenchen.de
Notes
Notes:
svn path=/head/; revision=59178
Diffstat (limited to 'databases/dbview')
-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 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,<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 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 |