From owner-svn-ports-head@freebsd.org Sun Jan 24 15:09:37 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A11849D28C2; Sun, 24 Jan 2016 15:09:37 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57178AFC; Sun, 24 Jan 2016 15:09:37 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0OF9a6j097586; Sun, 24 Jan 2016 15:09:36 GMT (envelope-from olivierd@FreeBSD.org) Received: (from olivierd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0OF9aCh097584; Sun, 24 Jan 2016 15:09:36 GMT (envelope-from olivierd@FreeBSD.org) Message-Id: <201601241509.u0OF9aCh097584@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivierd set sender to olivierd@FreeBSD.org using -f From: Olivier Duchateau Date: Sun, 24 Jan 2016 15:09:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407144 - in head/graphics/py-wand: . 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.20 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: Sun, 24 Jan 2016 15:09:37 -0000 Author: olivierd Date: Sun Jan 24 15:09:36 2016 New Revision: 407144 URL: https://svnweb.freebsd.org/changeset/ports/407144 Log: - Fix build on DragonFly - Replace obsolete command (pkg_add) in error message - Bump PORTREVISION Added: head/graphics/py-wand/files/ head/graphics/py-wand/files/patch-wand_api.py (contents, props changed) Modified: head/graphics/py-wand/Makefile Modified: head/graphics/py-wand/Makefile ============================================================================== --- head/graphics/py-wand/Makefile Sun Jan 24 15:09:26 2016 (r407143) +++ head/graphics/py-wand/Makefile Sun Jan 24 15:09:36 2016 (r407144) @@ -2,6 +2,7 @@ PORTNAME= Wand PORTVERSION= 0.4.2 +PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Added: head/graphics/py-wand/files/patch-wand_api.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-wand/files/patch-wand_api.py Sun Jan 24 15:09:36 2016 (r407144) @@ -0,0 +1,22 @@ +--- wand/api.py.orig 2015-11-29 19:02:15 UTC ++++ wand/api.py +@@ -179,8 +179,8 @@ try: + libraries = load_library() + except (OSError, IOError): + msg = 'http://docs.wand-py.org/en/latest/guide/install.html' +- if sys.platform.startswith('freebsd'): +- msg = 'pkg_add -r' ++ if sys.platform.startswith('dragonfly') or sys.platform.startswith('freebsd'): ++ msg = 'pkg install' + elif sys.platform == 'win32': + msg += '#install-imagemagick-on-windows' + elif sys.platform == 'darwin': +@@ -1390,7 +1390,7 @@ if platform.system() == 'Windows': + else: + if platform.system() == 'Darwin': + libc = ctypes.cdll.LoadLibrary('libc.dylib') +- elif platform.system() == 'FreeBSD': ++ elif sys.platform.startswith('dragonfly') or sys.platform.startswith('freebsd'): + libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c')) + else: + libc = ctypes.cdll.LoadLibrary('libc.so.6')