Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2016 16:23:49 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428363 - head/devel/msgpack
Message-ID:  <201612111623.uBBGNn6t024544@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Dec 11 16:23:49 2016
New Revision: 428363
URL: https://svnweb.freebsd.org/changeset/ports/428363

Log:
  devel/msgpack: modernize
  
  - Add |make test| support after ports r398125
  - Convert to install-strip from automake
  - Drop ports r248211 it builds fine on 9.3/10.1/11.0
  
  PR:		214523
  Approved by:	maintainer timeout (3 weeks)

Modified:
  head/devel/msgpack/Makefile   (contents, props changed)

Modified: head/devel/msgpack/Makefile
==============================================================================
--- head/devel/msgpack/Makefile	Sun Dec 11 16:23:14 2016	(r428362)
+++ head/devel/msgpack/Makefile	Sun Dec 11 16:23:49 2016	(r428363)
@@ -2,8 +2,8 @@
 
 PORTNAME=	msgpack
 PORTVERSION=	1.4.2
-PORTREVISION=	1
 DISTVERSIONPREFIX=	cpp-
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	kuriyama@FreeBSD.org
@@ -11,29 +11,25 @@ COMMENT=	MessagePack implementation for 
 
 LICENSE=	APACHE20
 
+TEST_DEPENDS=	googletest>0:devel/googletest
+
 USE_GITHUB=	yes
 GH_PROJECT=	msgpack-c
 
-USES=		libtool:build autoreconf:build pathfix
-
+USES=		autoreconf:build libtool:build localbase pathfix
 GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
 USE_LDCONFIG=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${ARCH} == "sparc64"
 # required for __sync _* atomic operations on sparc
 USE_GCC=	yes
 .endif
 
-.if ${ARCH} == "i386"
-# Mayby not working on i386/i486/i586...
-CONFIGURE_ARGS=	CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686"
-.endif
-
 pre-configure:
 	cd ${WRKSRC} && ./bootstrap
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmsgpackc.so.2.0.0
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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