ports/134847: [PATCH] devel/google-perftools: Fix portlint warning

Gea-Suan Lin gslin at gslin.org
Fri May 22 08:10:02 UTC 2009


>Number:         134847
>Category:       ports
>Synopsis:       [PATCH] devel/google-perftools: Fix portlint warning
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 22 08:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD colo-p.gslin.org 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Jan 31 21:46:23 UTC 2009
>Description:
- Use MAN1 instead of pkg-plist.
- Use standard DOCSDIR instead of version-suffix directory.
- Use USE_LDCONFIG to ask ports system to reload.

Port maintainer (yuri at tsoft.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- google-perftools-1.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/google-perftools/Makefile /home/staff/gslin/work/ports/google-perftools/Makefile
--- /usr/ports/devel/google-perftools/Makefile	2009-01-13 08:03:20.000000000 +0800
+++ /home/staff/gslin/work/ports/google-perftools/Makefile	2009-05-22 16:03:20.000000000 +0800
@@ -7,6 +7,7 @@
 
 PORTNAME=	google-perftools
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
 		${MASTER_SITE_LOCAL}
@@ -16,8 +17,9 @@
 COMMENT=	Fast, multi-threaded malloc() and nifty performance analysis tools
 
 GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
 
-DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
+MAN1=		pprof.1
 
 post-patch:
 .if defined(NOPORTDOCS)
diff -ruN --exclude=CVS /usr/ports/devel/google-perftools/pkg-plist /home/staff/gslin/work/ports/google-perftools/pkg-plist
--- /usr/ports/devel/google-perftools/pkg-plist	2009-01-13 08:03:20.000000000 +0800
+++ /home/staff/gslin/work/ports/google-perftools/pkg-plist	2009-05-22 16:01:54.000000000 +0800
@@ -1,3 +1,4 @@
+ at comment $FreeBSD$
 bin/pprof
 include/google/heap-checker.h
 include/google/heap-profiler.h
@@ -18,7 +19,6 @@
 lib/libtcmalloc_minimal.la
 lib/libtcmalloc_minimal.so
 lib/libtcmalloc_minimal.so.0
-man/man1/pprof.1
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
--- google-perftools-1.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list