From df3238e851ed72103084992ab5fdfffdc2ee1caa Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 20 Oct 2013 09:33:04 +0000 Subject: [PATCH] - Fix build with clang - Use USES=gmake - Support STAGEDIR PR: ports/183116 Submitted by: sunpoet (myself) Approved by: Douglas Thrift (maintainer) --- sysutils/dtpstree/Makefile | 9 +++++---- sysutils/dtpstree/files/patch-dtpstree.cpp | 10 ++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 sysutils/dtpstree/files/patch-dtpstree.cpp diff --git a/sysutils/dtpstree/Makefile b/sysutils/dtpstree/Makefile index d85da0798b71..307d8c8a4edf 100644 --- a/sysutils/dtpstree/Makefile +++ b/sysutils/dtpstree/Makefile @@ -13,11 +13,12 @@ COMMENT= Display a tree of processes LICENSE= AL2 USE_XZ= yes -USE_GMAKE= yes GNU_CONFIGURE= yes MAKEFILE= GNUmakefile -MAN1= dtpstree.1 -PLIST_FILES= bin/dtpstree +USES= gmake + +MAN1= dtpstree.1 +PLIST_FILES= bin/dtpstree \ + man/man1/dtpstree.1.gz -NO_STAGE= yes .include diff --git a/sysutils/dtpstree/files/patch-dtpstree.cpp b/sysutils/dtpstree/files/patch-dtpstree.cpp new file mode 100644 index 000000000000..405864f7f623 --- /dev/null +++ b/sysutils/dtpstree/files/patch-dtpstree.cpp @@ -0,0 +1,10 @@ +--- dtpstree.cpp.orig 2010-08-05 16:01:47.000000000 +0800 ++++ dtpstree.cpp 2013-10-19 19:48:34.750149337 +0800 +@@ -21,6 +21,7 @@ + + #include + #include ++#include + #include + #include + #include