Date: Sun, 24 Jan 2016 15:09:36 +0000 (UTC) From: Olivier Duchateau <olivierd@FreeBSD.org> 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 Message-ID: <201601241509.u0OF9aCh097584@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601241509.u0OF9aCh097584>