From owner-svn-ports-all@freebsd.org Sat Sep 5 14:50:55 2015 Return-Path: Delivered-To: svn-ports-all@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 B913F9CA2B6; Sat, 5 Sep 2015 14:50:55 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 A56021DF5; Sat, 5 Sep 2015 14:50:55 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t85Eotxw098625; Sat, 5 Sep 2015 14:50:55 GMT (envelope-from dinoex@FreeBSD.org) Received: (from dinoex@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t85EotcI098622; Sat, 5 Sep 2015 14:50:55 GMT (envelope-from dinoex@FreeBSD.org) Message-Id: <201509051450.t85EotcI098622@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dinoex set sender to dinoex@FreeBSD.org using -f From: Dirk Meyer Date: Sat, 5 Sep 2015 14:50:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396178 - in head/graphics/graphviz: . 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-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 14:50:55 -0000 Author: dinoex Date: Sat Sep 5 14:50:54 2015 New Revision: 396178 URL: https://svnweb.freebsd.org/changeset/ports/396178 Log: - use guile-2.0, use swig-3.0 - fixing OPTION GUILE, and OPTION PHP PR: 202506 Submitted by: pi Modified: head/graphics/graphviz/Makefile head/graphics/graphviz/files/patch-configure Modified: head/graphics/graphviz/Makefile ============================================================================== --- head/graphics/graphviz/Makefile Sat Sep 5 14:40:42 2015 (r396177) +++ head/graphics/graphviz/Makefile Sat Sep 5 14:50:54 2015 (r396178) @@ -3,7 +3,7 @@ PORTNAME= graphviz PORTVERSION= 2.38.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics tk MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/ @@ -105,7 +105,7 @@ SMYRNA_LIB_DEPENDS= libgtkgl-2.0.so:${PO libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext MING_LIB_DEPENDS= libming.so:${PORTSDIR}/graphics/ming DEVIL_LIB_DEPENDS= libIL.so:${PORTSDIR}/graphics/devil -GUILE_LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile +GUILE_LIB_DEPENDS= libguile-2.0.so:${PORTSDIR}/lang/guile2 XPM_CONFIGURE_WITH= x DIGCOLA_CONFIGURE_WITH= digcola @@ -164,20 +164,10 @@ CONFIGURE_ARGS+= --program-transform-nam --disable-io --disable-ocaml --disable-java \ --disable-sharp -.if ${PORT_OPTIONS:MGUILE} -BROKEN= guile is too old -.endif - .if ${PORT_OPTIONS:MMING} BROKEN= Ming incomplete, uses removed libgraph .endif -.if ${OSVERSION} > 1100000 -.if ${PORT_OPTIONS:MPHP} -BROKEN= code generated by swig fails to compile -.endif -.endif - .if ${PORT_OPTIONS:MTK} .if empty(PORT_OPTIONS:MTCL) IGNORE= option TCL is required for option TK @@ -246,10 +236,10 @@ IGNORE= option WITH_DIGCOLA is required .if ${PORT_OPTIONS:MPERL} || ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || \ ${PORT_OPTIONS:MRUBY} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MTCL} || \ ${PORT_OPTIONS:MGUILE} -BUILD_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20 -RUN_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20 +BUILD_DEPENDS+= swig3.0:${PORTSDIR}/devel/swig30 +RUN_DEPENDS+= swig3.0:${PORTSDIR}/devel/swig30 CONFIGURE_ARGS+= --enable-swig -CONFIGURE_ENV+= SWIG="${LOCALBASE}/bin/swig2.0" +CONFIGURE_ENV+= SWIG="${LOCALBASE}/bin/swig3.0" .else CONFIGURE_ARGS+= --disable-swig CONFIGURE_ENV+= SWIG="/nonexistent" Modified: head/graphics/graphviz/files/patch-configure ============================================================================== --- head/graphics/graphviz/files/patch-configure Sat Sep 5 14:40:42 2015 (r396177) +++ head/graphics/graphviz/files/patch-configure Sat Sep 5 14:50:54 2015 (r396178) @@ -1,6 +1,6 @@ ---- configure.orig 2013-09-07 03:11:08.000000000 +0200 -+++ configure 2013-09-08 14:44:48.000000000 +0200 -@@ -17820,6 +17820,9 @@ +--- configure.orig 2014-04-13 22:41:48.000000000 +0200 ++++ configure 2015-09-05 16:25:22.901752000 +0200 +@@ -17827,6 +17827,9 @@ CFLAGS="${CFLAGS} -fno-common -Wall" LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names" ;; @@ -10,7 +10,16 @@ *-freebsd* ) CFLAGS="${CFLAGS} -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math" ;; -@@ -21662,7 +21665,9 @@ +@@ -21101,7 +21104,7 @@ + if test "x$GUILE" = "x"; then + use_guile="No (guile not available)" + else +- GUILE_VERSION=`$GUILE --version | sed -n '1 s/^.* \+\([0-9\.]\+\)$/\1/ p'` ++ GUILE_VERSION=`$GUILE --version | sed -n '1 s/^.* \([0-9\.]*\)$/\1/ p'` + GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1` + GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2` + if test 0$GUILE_VERSION_MAJOR -lt 2; then +@@ -21669,7 +21672,9 @@ LUA_INCLUDES="" LUA_LIBS="" @@ -21,7 +30,7 @@ if test -n "$lua_inc"; then CFLAGS="$CFLAGS -I$lua_inc" -@@ -21724,13 +21729,13 @@ +@@ -21731,13 +21736,13 @@ pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null` if test "x$?" = "x0" ; then LUA_VERSION=`$PKGCONFIG --modversion lua$l`