svn commit: r402471 - in head/graphics/hugin: . files

Greg Lehey grog at FreeBSD.org
Fri Nov 27 05:53:41 UTC 2015


Author: grog (src committer)
Date: Fri Nov 27 05:53:39 2015
New Revision: 402471
URL: https://svnweb.freebsd.org/changeset/ports/402471

Log:
  Depend on sqlite3
  
  Not found by:   port test
  
  Find a more general way to determine the python path.
  
  Approved by:	edwin@ (mentor)
  MFC after:	3 weeks

Modified:
  head/graphics/hugin/Makefile
  head/graphics/hugin/files/patch-src__hugin_script_interface__CMakeLists.txt

Modified: head/graphics/hugin/Makefile
==============================================================================
--- head/graphics/hugin/Makefile	Fri Nov 27 03:51:32 2015	(r402470)
+++ head/graphics/hugin/Makefile	Fri Nov 27 05:53:39 2015	(r402471)
@@ -3,7 +3,7 @@
 
 PORTNAME=	hugin
 PORTVERSION=	2015.0.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
 
@@ -16,6 +16,7 @@ LIB_DEPENDS=	libIlmImf.so:${PORTSDIR}/gr
 		libexiv2.so:${PORTSDIR}/graphics/exiv2 \
 		liblensfun.so:${PORTSDIR}/graphics/lensfun \
 		libpano13.so:${PORTSDIR}/graphics/libpano13 \
+		libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
 		libvigraimpex.so:${PORTSDIR}/graphics/vigra \
 		libpng.so:${PORTSDIR}/graphics/png \
 		libtiff.so:${PORTSDIR}/graphics/tiff

Modified: head/graphics/hugin/files/patch-src__hugin_script_interface__CMakeLists.txt
==============================================================================
--- head/graphics/hugin/files/patch-src__hugin_script_interface__CMakeLists.txt	Fri Nov 27 03:51:32 2015	(r402470)
+++ head/graphics/hugin/files/patch-src__hugin_script_interface__CMakeLists.txt	Fri Nov 27 05:53:39 2015	(r402471)
@@ -1,11 +1,11 @@
 --- src/hugin_script_interface/CMakeLists.txt~	2015-07-18 02:44:01.000000000 +1000
-+++ src/hugin_script_interface/CMakeLists.txt	2015-11-23 13:02:39.000000000 +1100
++++ src/hugin_script_interface/CMakeLists.txt	2015-11-24 12:49:59.000000000 +1100
 @@ -201,7 +201,7 @@
      # Linux/MacOS
      # install Python related files into folder depending on used Python version
  
 -    EXECUTE_PROCESS( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))"
-+    EXECUTE_PROCESS( COMMAND ${PYTHON_EXECUTABLE} -c "import string; from distutils.sysconfig import get_python_lib; print(string.replace (get_python_lib(1), \"/usr/local/\", \"\"))"
++    EXECUTE_PROCESS( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1).replace(\"/usr/local/\", \"\"))"
                       OUTPUT_VARIABLE pyinstalldir
                       OUTPUT_STRIP_TRAILING_WHITESPACE)
  


More information about the svn-ports-all mailing list