From owner-svn-ports-all@FreeBSD.ORG Mon Sep 16 11:30:08 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 82E2A14B; Mon, 16 Sep 2013 11:30:08 +0000 (UTC) (envelope-from bapt@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 564B924F4; Mon, 16 Sep 2013 11:30:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8GBU88f007153; Mon, 16 Sep 2013 11:30:08 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8GBU7A0007151; Mon, 16 Sep 2013 11:30:07 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201309161130.r8GBU7A0007151@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 16 Sep 2013 11:30:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327382 - in head/devel/clanlib1: . 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Sep 2013 11:30:08 -0000 Author: bapt Date: Mon Sep 16 11:30:07 2013 New Revision: 327382 URL: http://svnweb.freebsd.org/changeset/ports/327382 Log: Fix build with libc++ While I'm here add PKGNAMESUFFIX to that pkg install clanlib won't try to install of different clanglib. Modernize LIB_DEPENDS Remove now useless LATEST_LINK Convert USE_GMAKE to USES=gmake Added: head/devel/clanlib1/files/patch-libc++ (contents, props changed) Modified: head/devel/clanlib1/Makefile Modified: head/devel/clanlib1/Makefile ============================================================================== --- head/devel/clanlib1/Makefile Mon Sep 16 11:16:50 2013 (r327381) +++ head/devel/clanlib1/Makefile Mon Sep 16 11:30:07 2013 (r327382) @@ -6,6 +6,7 @@ PORTVERSION= 1.0.0 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-1.0/ DISTNAME= ClanLib-${PORTVERSION} +PKGNAMESUFFIX= 1 EXTRACT_SUFX= .tgz MAINTAINER= c.petrik.sosa@gmail.com @@ -14,17 +15,14 @@ COMMENT= Cross-platform game SDK LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ - png15:${PORTSDIR}/graphics/png \ - mikmod:${PORTSDIR}/audio/libmikmod \ - vorbis:${PORTSDIR}/audio/libvorbis +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png \ + libmikmod.so:${PORTSDIR}/audio/libmikmod \ + libvorbis.so:${PORTSDIR}/audio/libvorbis -LATEST_LINK= ${PORTNAME}1 - -USE_GMAKE= yes USE_AUTOTOOLS= libtool USE_XORG= x11 xi -USES= pathfix pkgconfig +USES= gmake pathfix pkgconfig USE_LDCONFIG= yes USE_SDL= gfx USE_GL= yes Added: head/devel/clanlib1/files/patch-libc++ ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/clanlib1/files/patch-libc++ Mon Sep 16 11:30:07 2013 (r327382) @@ -0,0 +1,20 @@ +--- Sources/GL/canvas_opengl.cpp.orig 2007-10-21 02:14:01.000000000 +0200 ++++ Sources/GL/canvas_opengl.cpp 2013-09-16 13:21:42.874065134 +0200 +@@ -27,6 +27,7 @@ + ** (if your name is missing here, please add it) + */ + ++#include + #include "Display/display_precomp.h" + #include "canvas_opengl.h" + #include "API/Core/System/error.h" +--- Sources/Network/Socket/ip_address_getaddr.cpp.orig 2007-10-21 02:14:01.000000000 +0200 ++++ Sources/Network/Socket/ip_address_getaddr.cpp 2013-09-16 13:22:11.882067224 +0200 +@@ -29,6 +29,7 @@ + + #ifdef USE_GETADDR + ++#include + #include "ip_address_getaddr.h" + #include "API/Core/System/error.h" + #include "API/Core/System/mutex.h"