Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 15:25:25 GMT
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143169: update devel/lmdbg to 0.12.0
Message-ID:  <201001241525.o0OFPPOT090820@www.freebsd.org>
Resent-Message-ID: <201001241530.o0OFU4EO067058@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         143169
>Category:       ports
>Synopsis:       update devel/lmdbg to 0.12.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 24 15:30:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Mikolaj Golub
>Release:        
>Organization:
>Environment:
>Description:
Please note, this update can be done only after updating devel/mk-configure to 0.13.0 (ports/143167).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ru devel/lmdbg.orig/Makefile devel/lmdbg/Makefile
--- devel/lmdbg.orig/Makefile	2010-01-15 17:02:25.000000000 +0200
+++ devel/lmdbg/Makefile	2010-01-24 16:13:59.000000000 +0200
@@ -6,22 +6,27 @@
 #
 
 PORTNAME=	lmdbg
-PORTVERSION=	0.11.0
+PORTVERSION=	0.12.0
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	to.my.trociny@gmail.com
 COMMENT=	Lightweight malloc debugger
 
-BUILD_DEPENDS=	${LOCALBASE}/share/mk/_mkc.ver.mk:${PORTSDIR}/devel/mk-configure
+BUILD_DEPENDS=	mk-configure>=0.13.0:${PORTSDIR}/devel/mk-configure
 
 MAN1=		lmdbg-run.1 lmdbg-leaks.1 lmdbg-sysleaks.1 lmdbg-sym.1 lmdbg.1
 
+post-patch:
+	# 0.12.0 tries to install progs from tests, which is wrong
+	@${REINPLACE_CMD} -e 's/^\([ 	]*SUBDIR+[ 	]*=[ 	]*tests\)/#\1/' \
+		${WRKSRC}/Makefile
+
 do-build:
-	bmake -C ${WRKSRC}
+	mkcmake -C ${WRKSRC}
 
 do-install:
-	bmake -C ${WRKSRC} install-dirs install
+	mkcmake -C ${WRKSRC} installdirs install
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -ru devel/lmdbg.orig/distinfo devel/lmdbg/distinfo
--- devel/lmdbg.orig/distinfo	2010-01-15 17:02:25.000000000 +0200
+++ devel/lmdbg/distinfo	2010-01-24 12:31:02.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (lmdbg-0.11.0.tar.gz) = 0171e10b5946ab80fe2f2894635c080a
-SHA256 (lmdbg-0.11.0.tar.gz) = 36d1286c225eb43ab02b4b72495c2f0834da37f4c998191598f5f7adafbfe756
-SIZE (lmdbg-0.11.0.tar.gz) = 24124
+MD5 (lmdbg-0.12.0.tar.gz) = f1e465923ce8034dcf409df86cf2eb71
+SHA256 (lmdbg-0.12.0.tar.gz) = e85405fa9c8441f7355543a5172f6ad71ec3fcf3a09e82c2295f32141ecc8b4c
+SIZE (lmdbg-0.12.0.tar.gz) = 26993
diff -ru devel/lmdbg.orig/pkg-plist devel/lmdbg/pkg-plist
--- devel/lmdbg.orig/pkg-plist	2010-01-15 17:02:25.000000000 +0200
+++ devel/lmdbg/pkg-plist	2010-01-24 15:43:22.000000000 +0200
@@ -1,5 +1,3 @@
-include/stacktrace.h
-lib/libstacktrace.a
 lib/liblmdbg.a
 lib/liblmdbg.so.0.0
 lib/liblmdbg.so.0


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001241525.o0OFPPOT090820>