Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2013 11:30:07 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327382 - in head/devel/clanlib1: . files
Message-ID:  <201309161130.r8GBU7A0007151@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <stdlib.h>
+ #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 <stdlib.h>
+ #include "ip_address_getaddr.h"
+ #include "API/Core/System/error.h"
+ #include "API/Core/System/mutex.h"



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