From owner-svn-ports-head@FreeBSD.ORG Thu Sep 5 16:33:41 2013 Return-Path: Delivered-To: svn-ports-head@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 7A12932B; Thu, 5 Sep 2013 16:33:41 +0000 (UTC) (envelope-from danfe@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 4ED5B2E45; Thu, 5 Sep 2013 16:33:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r85GXfGE045058; Thu, 5 Sep 2013 16:33:41 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r85GXeUc045056; Thu, 5 Sep 2013 16:33:40 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201309051633.r85GXeUc045056@svn.freebsd.org> From: Alexey Dokuchaev Date: Thu, 5 Sep 2013 16:33:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326412 - in head/games/gtkradiant: . 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, 05 Sep 2013 16:33:41 -0000 Author: danfe Date: Thu Sep 5 16:33:40 2013 New Revision: 326412 URL: http://svnweb.freebsd.org/changeset/ports/326412 Log: - Attempt to unbreak the build against Clang - Get rid of bogus dependency on devel/py-subversion - Modernize LIB_DEPENDS syntax, copy files with -a - Add an explicit dependency on pkgconfig Reported by: pkg-fallout Modified: head/games/gtkradiant/Makefile head/games/gtkradiant/files/patch-makeversion.py Modified: head/games/gtkradiant/Makefile ============================================================================== --- head/games/gtkradiant/Makefile Thu Sep 5 16:25:38 2013 (r326411) +++ head/games/gtkradiant/Makefile Thu Sep 5 16:33:40 2013 (r326412) @@ -16,13 +16,13 @@ COMMENT= Level design program developed LICENSE= GPLv2 -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libsvn/__init__.py:${PORTSDIR}/devel/py-subversion -LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext \ - mhash.2:${PORTSDIR}/security/mhash \ - png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext \ + libmhash.so:${PORTSDIR}/security/mhash \ + libpng15.so:${PORTSDIR}/graphics/png WRKSRC= ${WRKDIR}/GPL/GtkRadiant +USES= pkgconfig USE_ZIP= yes USE_GNOME= gtk20 libxml2 USE_PYTHON_BUILD= yes @@ -49,14 +49,19 @@ post-patch: ${WRKSRC}/radiant/patch.cpp \ ${WRKSRC}/radiant/watchbsp.cpp \ ${WRKSRC}/tools/quake3/common/inout.c + @${REINPLACE_CMD} -e '/#include "generic\/reference.h"/x ; 318G' \ + ${WRKSRC}/libs/scenelib.h + @${REINPLACE_CMD} -e '/#include "generic\/referencecounted.h/ { \ + x ; s/^/#include "scenelib.h"/ ; G ; }' \ + ${WRKSRC}/plugins/mapq3/parse.h post-build: cd ${WRKSRC} && ${PYTHON_CMD} install.py - ${CP} -R ${WRKDIR}/${PORTNAME}_gamepacks/* ${WRKSRC}/install + ${CP} -a ${WRKDIR}/${PORTNAME}_gamepacks/* ${WRKSRC}/install do-install: @${MKDIR} ${DATADIR} - ${CP} -R ${WRKSRC}/install/* ${DATADIR} + ${CP} -a ${WRKSRC}/install/* ${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin .include Modified: head/games/gtkradiant/files/patch-makeversion.py ============================================================================== --- head/games/gtkradiant/files/patch-makeversion.py Thu Sep 5 16:25:38 2013 (r326411) +++ head/games/gtkradiant/files/patch-makeversion.py Thu Sep 5 16:33:40 2013 (r326412) @@ -1,6 +1,15 @@ --- ./makeversion.py.orig Sun Feb 12 16:47:01 2006 +++ ./makeversion.py Thu Mar 16 16:09:46 2006 -@@ -82,7 +82,7 @@ +@@ -39,8 +39,6 @@ + + import sys, re, string, os + +-import svn +- + def get_version(): + # version + f = open('include/version.default', 'r') +@@ -82,7 +80,7 @@ def radiant_makeversion(append_about): line = f.readline() f.close() else: