ports/164134: devel/lmdbg: update to 1.0.0

Mikolaj Golub trociny at FreeBSD.org
Sun Jan 15 09:50:10 UTC 2012


>Number:         164134
>Category:       ports
>Synopsis:       devel/lmdbg: update to 1.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 15 09:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mikolaj Golub
>Release:        
>Organization:
>Environment:
>Description:
Update to 1.0.0:

Version 1.0.0, by Aleksey Cheusov, Mon,  9 Jan 2012 21:56:33 +0300

  libstacktrace:
     Remove signal handlers and other garbage.
     All we need is __builtin_frame_address and __builtin_return_address
     builtins and nothing else.

  Documentation files have been moved to subproject "doc".
  Run "mkcmake install-doc" for installing it (or change SUBPRJ_DFLT).

  Only backtrace(3) in libc is accepted as an external implementation
  of stacktrace(3). This may fix build failure on FreeBSD with
  installed libexecinfo.

As a side effect, simplify Makefile:

1) No need in setting HAVE_HEADER.execinfo_h=0 flag explicitly to avoid conflict with libexecinfo.

2) Use install-doc target instead of installing the docs manually.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nrpu devel/lmdbg.orig/Makefile devel/lmdbg/Makefile
--- devel/lmdbg.orig/Makefile	2012-01-14 23:53:35.000000000 +0200
+++ devel/lmdbg/Makefile	2012-01-15 11:22:50.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	lmdbg
-PORTVERSION=	0.17.0
+PORTVERSION=	1.0.0
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -24,27 +24,23 @@ USE_LDCONFIG=	yes
 
 MKCMAKE?=	${LOCALBASE}/bin/mkcmake
 
-PORTDOCS=	ChangeLog NEWS README TODO
+PORTDOCS=	LICENSE NEWS README TODO
 
 MAN1=		lmdbg-run.1 lmdbg-leaks.1 lmdbg-sysleaks.1 lmdbg-sym.1 lmdbg.1 \
 		lmdbg-stat.1 lmdbg-grep.1 lmdbg-sort.1
 
 MKCMAKE_ENV+=	CPPFLAGS=-I${LOCALBASE}/include
 MKCMAKE_ENV+=	LDFLAGS=-L${LOCALBASE}/lib
-MKCMAKE_FLAGS+=	HAVE_HEADER.execinfo_h=0
+
+INSTALL_TARGET=	install
+.if !defined(NOPORTDOCS)
+INSTALL_TARGET+=install-doc
+.endif
 
 do-build:
-	${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} ${MKCMAKE_FLAGS} -C ${WRKSRC}
+	${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC}
 
 do-install:
-	${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} ${MKCMAKE_FLAGS} -C ${WRKSRC} ${INSTALL_TARGET}
-
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${doc} ${DOCSDIR}
-.endfor
-.endif
+	${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET}
 
 .include <bsd.port.mk>
diff -Nrpu devel/lmdbg.orig/distinfo devel/lmdbg/distinfo
--- devel/lmdbg.orig/distinfo	2012-01-14 23:53:35.000000000 +0200
+++ devel/lmdbg/distinfo	2012-01-14 23:54:25.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (lmdbg-0.17.0.tar.gz) = 4dbd982a794f8a8b3c7732b4c6a7304a2e8f805ee7dcd98d30f588fb9051b30f
-SIZE (lmdbg-0.17.0.tar.gz) = 52225
+SHA256 (lmdbg-1.0.0.tar.gz) = 53eb3bde848b7d88f0ed5ca15874fe8a20759c8153def1f3ccb6410a5ab0e9f6
+SIZE (lmdbg-1.0.0.tar.gz) = 51416


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



More information about the freebsd-ports-bugs mailing list