svn commit: r456795 - in head/graphics/exact-image: . files

Baptiste Daroussin bapt at FreeBSD.org
Wed Dec 20 14:10:04 UTC 2017


Author: bapt
Date: Wed Dec 20 14:10:03 2017
New Revision: 456795
URL: https://svnweb.freebsd.org/changeset/ports/456795

Log:
  Switch to swig 3.0
  
  Modify a comment to make it swig 3.0 friendly

Added:
  head/graphics/exact-image/files/patch-api_api-swig.hh   (contents, props changed)
Modified:
  head/graphics/exact-image/Makefile

Modified: head/graphics/exact-image/Makefile
==============================================================================
--- head/graphics/exact-image/Makefile	Wed Dec 20 13:48:47 2017	(r456794)
+++ head/graphics/exact-image/Makefile	Wed Dec 20 14:10:03 2017	(r456795)
@@ -12,7 +12,7 @@ COMMENT=	Fast image processing library
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	swig:devel/swig13
+BUILD_DEPENDS=	swig3.0:devel/swig30
 LIB_DEPENDS=	libagg.so:graphics/agg \
 		libtiff.so:graphics/tiff \
 		libpng.so:graphics/png \
@@ -39,6 +39,7 @@ PLIST_FILES=	${BINS:S|^|bin/|} \
 		%%SITE_PERL%%/ExactImage.pm \
 		%%PYTHON_SITELIBDIR%%/ExactImage.py \
 		%%PYTHON_SITELIBDIR%%/_ExactImage.so
+BINARY_ALIAS=	swig=swig3.0
 
 post-extract:
 	@${RM} -r ${WRKSRC}/agg-2.4/

Added: head/graphics/exact-image/files/patch-api_api-swig.hh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/exact-image/files/patch-api_api-swig.hh	Wed Dec 20 14:10:03 2017	(r456795)
@@ -0,0 +1,11 @@
+--- api/api-swig.hh.orig	2009-03-19 13:00:11 UTC
++++ api/api-swig.hh
+@@ -22,7 +22,7 @@
+ %include "cstring.i"
+ %include "std_string.i"
+ 
+-# manually include it, otherwise SWIG will not source it
++/* manually include it, otherwise SWIG will not source it */
+ %include "config.h"
+ 
+ %{


More information about the svn-ports-head mailing list