ports/182235: [MAINTAINER] net/libnatpmp: fix compatibility for fbsd 10

Hung-Yi Chen gaod at hychen.org
Thu Sep 19 19:30:04 UTC 2013


>Number:         182235
>Category:       ports
>Synopsis:       [MAINTAINER] net/libnatpmp: fix compatibility for fbsd 10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 19 19:30:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hung-Yi Chen
>Release:        FreeBSD 9.1-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD cse.tw 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	Fix compatibility for FreeBSD 10.0.
        Use new style header.
>How-To-Repeat:
>Fix:


--- net_libnatpmp.diff begins here ---
Index: net/libnatpmp/Makefile
===================================================================
--- net/libnatpmp/Makefile	(revision 327645)
+++ net/libnatpmp/Makefile	(working copy)
@@ -1,12 +1,9 @@
-# New ports collection makefile for:	libnatpmp
-# Date created:		11 Aug 2009
-# Whom:			Hung-Yi Chen <gaod at hychen.org>
-#
+# Created by: Hung-Yi Chen <gaod at hychen.org>
 # $FreeBSD$
-#
 
 PORTNAME=	libnatpmp
 PORTVERSION=	20120821
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://miniupnp.free.fr/files/
 
Index: net/libnatpmp/files/patch-Makefile
===================================================================
--- net/libnatpmp/files/patch-Makefile	(revision 0)
+++ net/libnatpmp/files/patch-Makefile	(working copy)
@@ -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

Property changes on: net/libnatpmp/files/patch-Makefile
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
--- net_libnatpmp.diff ends here ---


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


More information about the freebsd-ports-bugs mailing list