--- /root/strace/Makefile Sat Apr 19 16:19:50 2003 +++ /root/strace/Makefile Fri Jan 2 19:43:34 2004 @@ -6,7 +6,7 @@ # PORTNAME= strace -PORTVERSION= 4.4.94 +PORTVERSION= 4.5.1 CATEGORIES= devel sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,16 +15,32 @@ COMMENT= A portable process tracer USE_BZIP2= yes +USE_PERL5= yes # for strace-graph +USE_REINPLACE= yes GNU_CONFIGURE= yes ONLY_FOR_ARCHS= i386 MAN1= strace.1 +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +post-patch: + ${REINPLACE_CMD} 's,/usr/bin/perl,${PERL},' ${WRKSRC}/strace-graph + do-install: - -${MKDIR} ${PREFIX}/bin + ${MKDIR} ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/strace ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${PREFIX}/bin - -${MKDIR} ${PREFIX}/man/man1 + ${MKDIR} ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/strace.1 ${PREFIX}/man/man1 +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in AUTHORS COPYING COPYRIGHT CREDITS ChangeLog NEWS PORTING \ + README README-freebsd README-svr4 TODO + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif .include --- /root/strace/distinfo Sat Apr 19 15:27:52 2003 +++ /root/strace/distinfo Fri Jan 2 19:07:03 2004 @@ -1, +1, @@ -MD5 (strace-4.4.94.tar.bz2) = 483890e6ea930f8c09ccae55121ca7ac +MD5 (strace-4.5.1.tar.bz2) = 11657c64e4289d8cfc48302e890f1a5b --- /root/strace/files/patch-configure Sat Apr 19 15:30:41 2003 +++ /root/strace/files/patch-configure Fri Jan 2 19:09:06 2004 @@ -1,45 +1,18 @@ -*** configure Thu Feb 20 05:55:30 2003 ---- /tmp/w/configure Tue Feb 25 14:47:53 2003 -*************** -*** 5602,5606 **** - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -! #include >conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -! #include -! #include - - int -*************** -*** 5638,5642 **** - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -! #include >conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -! #include -! #include - - int -*************** -*** 6490,6493 **** ---- 6492,6496 ---- - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -+ #include - #include - -*************** -*** 6749,6752 **** ---- 6752,6756 ---- - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -+ #include - #include +--- configure.orig Fri Nov 7 03:24:18 2003 ++++ configure Fri Jan 2 19:08:31 2004 +@@ -6501,6 +6501,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include + #include + + #include <$ac_header> +@@ -6760,6 +6761,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include + #include + + int --- /root/strace/files/patch-file.c Thu Jan 1 01:00:00 1970 +++ /root/strace/files/patch-file.c Fri Jan 2 19:12:01 2004 @@ -0,0 +1,20 @@ +--- file.c.orig Thu Nov 13 23:32:27 2003 ++++ file.c Fri Jan 2 19:11:23 2004 +@@ -1387,7 +1387,7 @@ + statbuf.f_bsize, statbuf.f_blocks, statbuf.f_bfree); + tprintf("f_bavail=%u, f_files=%u, f_ffree=%u, f_fsid={%d, %d}, f_namelen=%u", + statbuf.f_bavail,statbuf.f_files, statbuf.f_ffree, +- statbuf.f_fsid.__val[0], statbuf.f_fsid.__val[1], ++ statbuf.f_fsid.val[0], statbuf.f_fsid.val[1], + statbuf.f_namelen); + #else /* !ALPHA */ + tprintf("{f_type=%s, f_bsize=%lu, f_blocks=%lu, f_bfree=%lu, ", +@@ -1399,7 +1399,7 @@ + (unsigned long)statbuf.f_bavail, + (unsigned long)statbuf.f_files, + (unsigned long)statbuf.f_ffree, +- statbuf.f_fsid.__val[0], statbuf.f_fsid.__val[1]); ++ statbuf.f_fsid.val[0], statbuf.f_fsid.val[1]); + #ifdef LINUX + tprintf(", f_namelen=%lu", (unsigned long)statbuf.f_namelen); + #endif /* LINUX */