From owner-svn-ports-head@FreeBSD.ORG Fri Dec 19 17:21:38 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B8AE7BD; Fri, 19 Dec 2014 17:21:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DCEE2215; Fri, 19 Dec 2014 17:21:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBJHLcC0055928; Fri, 19 Dec 2014 17:21:38 GMT (envelope-from crees@FreeBSD.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBJHLbrC055926; Fri, 19 Dec 2014 17:21:37 GMT (envelope-from crees@FreeBSD.org) Message-Id: <201412191721.sBJHLbrC055926@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: crees set sender to crees@FreeBSD.org using -f From: Chris Rees Date: Fri, 19 Dec 2014 17:21:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374955 - in head/net/libnatpmp: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2014 17:21:38 -0000 Author: crees Date: Fri Dec 19 17:21:37 2014 New Revision: 374955 URL: https://svnweb.freebsd.org/changeset/ports/374955 QAT: https://qat.redports.org/buildarchive/r374955/ Log: - update - clarify LICENSE to be BSD3CLAUSE like net/miniupnpc - replace patch-Makefile with a simple MAKE_(ARGS|ENV) override - drop redundant -fPIC PR: ports/194030 Submitted by: Jan Beich Approved by: Hung-Yi Chen (maintainer) Deleted: head/net/libnatpmp/files/ Modified: head/net/libnatpmp/Makefile head/net/libnatpmp/distinfo Modified: head/net/libnatpmp/Makefile ============================================================================== --- head/net/libnatpmp/Makefile Fri Dec 19 17:17:22 2014 (r374954) +++ head/net/libnatpmp/Makefile Fri Dec 19 17:21:37 2014 (r374955) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libnatpmp -PORTVERSION= 20120821 +PORTVERSION= 20140401 CATEGORIES= net MASTER_SITES= http://miniupnp.free.fr/files/ @@ -14,7 +14,8 @@ LICENSE= BSD3CLAUSE USES= gmake USE_LDCONFIG= yes -MAKE_ENV+= INSTALLPREFIX=${PREFIX} +MAKE_ARGS+= CC="${CC}" +MAKE_ENV+= INSTALLPREFIX=${STAGEDIR}${PREFIX} CFLAGS+= -fPIC @@ -24,6 +25,11 @@ PLIST_FILES= bin/natpmpc \ lib/libnatpmp.so \ lib/libnatpmp.so.1 +post-patch: + @${REINPLACE_CMD} -e 's/^LIBSPEC //' \ + -e '/declspec\.h/d' \ + ${WRKSRC}/natpmp.h + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/natpmpc \ ${STAGEDIR}${PREFIX}/lib/libnatpmp.so.1 Modified: head/net/libnatpmp/distinfo ============================================================================== --- head/net/libnatpmp/distinfo Fri Dec 19 17:17:22 2014 (r374954) +++ head/net/libnatpmp/distinfo Fri Dec 19 17:21:37 2014 (r374955) @@ -1,2 +1,2 @@ -SHA256 (libnatpmp-20120821.tar.gz) = 5b265b3ce5d6d05a33be43aab8f64b0f34a2cc0b01500e63fe167c7f9f44d2b8 -SIZE (libnatpmp-20120821.tar.gz) = 17832 +SHA256 (libnatpmp-20140401.tar.gz) = b2ce5e626a21c795cba2d118f26e54aaa89de29d4611c440fafc49a2a5bedabb +SIZE (libnatpmp-20140401.tar.gz) = 23302