From owner-svn-ports-head@FreeBSD.ORG Thu Sep 19 21:42:25 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A0BF2D87; Thu, 19 Sep 2013 21:42:25 +0000 (UTC) (envelope-from wg@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 743A22BD8; Thu, 19 Sep 2013 21:42:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8JLgPLE046571; Thu, 19 Sep 2013 21:42:25 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8JLgO5A046568; Thu, 19 Sep 2013 21:42:24 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201309192142.r8JLgO5A046568@svn.freebsd.org> From: William Grzybowski Date: Thu, 19 Sep 2013 21:42:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327649 - 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.14 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: Thu, 19 Sep 2013 21:42:25 -0000 Author: wg Date: Thu Sep 19 21:42:24 2013 New Revision: 327649 URL: http://svnweb.freebsd.org/changeset/ports/327649 Log: net/libnatpmp: fix build without gcc - Fix build without gcc [1] - Trim Makefile header [1] - USES gmake - Remove leading article from COMMENT - Use single space for WWW - Add LICENSE (BSD) PR: ports/182235 [1] Submitted by: Hung-Yi Chen (maintainer) Added: head/net/libnatpmp/files/ head/net/libnatpmp/files/patch-Makefile (contents, props changed) Modified: head/net/libnatpmp/Makefile head/net/libnatpmp/pkg-descr Modified: head/net/libnatpmp/Makefile ============================================================================== --- head/net/libnatpmp/Makefile Thu Sep 19 20:04:51 2013 (r327648) +++ head/net/libnatpmp/Makefile Thu Sep 19 21:42:24 2013 (r327649) @@ -1,9 +1,5 @@ -# New ports collection makefile for: libnatpmp -# Date created: 11 Aug 2009 -# Whom: Hung-Yi Chen -# +# Created by: Hung-Yi Chen # $FreeBSD$ -# PORTNAME= libnatpmp PORTVERSION= 20120821 @@ -11,9 +7,11 @@ CATEGORIES= net MASTER_SITES= http://miniupnp.free.fr/files/ MAINTAINER= gaod@hychen.org -COMMENT= An NAT-PMP lightweight library +COMMENT= NAT-PMP lightweight library -USE_GMAKE= yes +LICENSE= BSD + +USES= gmake MAKE_ENV+= INSTALLPREFIX=${PREFIX} CFLAGS+= -fPIC USE_LDCONFIG= yes Added: head/net/libnatpmp/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libnatpmp/files/patch-Makefile Thu Sep 19 21:42:24 2013 (r327649) @@ -0,0 +1,11 @@ +--- Makefile.orig 2013-09-20 03:13:32.533531973 +0800 ++++ Makefile 2013-09-20 03:13:40.954532152 +0800 +@@ -5,7 +5,7 @@ + # http://miniupnp.free.fr/libnatpmp.html + + OS = $(shell uname -s) +-CC = gcc ++CC ?= gcc + INSTALL = install + + # APIVERSION is used in soname Modified: head/net/libnatpmp/pkg-descr ============================================================================== --- head/net/libnatpmp/pkg-descr Thu Sep 19 20:04:51 2013 (r327648) +++ head/net/libnatpmp/pkg-descr Thu Sep 19 21:42:24 2013 (r327649) @@ -1,6 +1,6 @@ -libnatpmp is an attempt to make a portable and fully compliant implementation -of the protocol for the client side. It is based on non blocking sockets and -all calls of the API are asynchronous. It is therefore very easy to integrate -the NAT-PMP code to any event driven code. +libnatpmp is an attempt to make a portable and fully compliant implementation +of the protocol for the client side. It is based on non blocking sockets and +all calls of the API are asynchronous. It is therefore very easy to integrate +the NAT-PMP code to any event driven code. -WWW: http://miniupnp.free.fr/ +WWW: http://miniupnp.free.fr/