From owner-svn-ports-head@FreeBSD.ORG Sat Jan 25 15:17:57 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E179AA6; Sat, 25 Jan 2014 15:17:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 400BB1952; Sat, 25 Jan 2014 15:17:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0PFHvrF062469; Sat, 25 Jan 2014 15:17:57 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0PFHv5G062468; Sat, 25 Jan 2014 15:17:57 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201401251517.s0PFHv5G062468@svn.freebsd.org> From: Antoine Brodin Date: Sat, 25 Jan 2014 15:17:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341042 - head/net/gnu-dico 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.17 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: Sat, 25 Jan 2014 15:17:57 -0000 Author: antoine Date: Sat Jan 25 15:17:56 2014 New Revision: 341042 URL: http://svnweb.freebsd.org/changeset/ports/341042 QAT: https://qat.redports.org/buildarchive/r341042/ Log: - Fix build with clang - Fix python modules after removal of implicit lang/python dependency - Stage support Modified: head/net/gnu-dico/Makefile Modified: head/net/gnu-dico/Makefile ============================================================================== --- head/net/gnu-dico/Makefile Sat Jan 25 14:53:43 2014 (r341041) +++ head/net/gnu-dico/Makefile Sat Jan 25 15:17:56 2014 (r341042) @@ -3,7 +3,7 @@ PORTNAME= dico PORTVERSION= 2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net textproc MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,10 +14,11 @@ COMMENT= Flexible modular implementation USE_XZ= yes USE_LDCONFIG= yes -USE_GMAKE= yes +USES= gmake USE_AUTOTOOLS= libltdl libtool GNU_CONFIGURE= yes +CFLAGS+= -Wno-error=return-type CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --localstatedir=/var @@ -26,11 +27,11 @@ OPTIONS_DEFINE= PYTHON GUILE PCRE GSASL OPTIONS_DEFAULT= PYTHON GUILE PCRE GSASL_DESC= GSASL support -NO_STAGE= yes .include .if ${PORT_OPTIONS:MPYTHON} USE_PYTHON= yes +CONFIGURE_ENV+= PYTHON_CONFIG=${PYTHON_CMD}-config PLIST_SUB+= PYTHON="" .else CONFIGURE_ARGS+=--without-python @@ -38,7 +39,7 @@ PLIST_SUB+= PYTHON="@comment " .endif .if ${PORT_OPTIONS:MGUILE} -LIB_DEPENDS+= guile.21:${PORTSDIR}/lang/guile +LIB_DEPENDS+= libguile.so:${PORTSDIR}/lang/guile PLIST_SUB+= GUILE="" .else CONFIGURE_ARGS+=--without-guile @@ -46,7 +47,7 @@ PLIST_SUB+= GUILE="@comment " .endif .if ${PORT_OPTIONS:MPCRE} -LIB_DEPENDS+= pcre.3:${PORTSDIR}/devel/pcre +LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre PLIST_SUB+= PCRE="" .else CONFIGURE_ARGS+=--without-pcre @@ -54,7 +55,7 @@ PLIST_SUB+= PCRE="@comment " .endif .if ${PORT_OPTIONS:MGSASL} -LIB_DEPENDS+= gsasl.16:${PORTSDIR}/security/gsasl +LIB_DEPENDS+= libgsasl.so:${PORTSDIR}/security/gsasl CONFIGURE_ARGS+=--with-gsasl .else CONFIGURE_ARGS+=--without-gsasl @@ -94,9 +95,9 @@ post-patch: @${REINPLACE_CMD} 's/@bindir@/@sbindir@/' ${WRKSRC}/dicod/Makefile.in @${REINPLACE_CMD} 's/(bindir)..dir/&\/gdico/' ${WRKSRC}/dico/Makefile.in @${REINPLACE_CMD} '/INSTALL.*charset/d' ${WRKSRC}/gnu/Makefile.in + @${REINPLACE_CMD} 's/python-config/$${PYTHON_CONFIG}/' ${WRKSRC}/configure post-install: - @${INSTALL_DATA} ${FILESDIR}/dicod.conf ${PREFIX}/etc/dicod.conf.sample - @${CAT} ${PKGMESSAGE} + @${INSTALL_DATA} ${FILESDIR}/dicod.conf ${STAGEDIR}${PREFIX}/etc/dicod.conf.sample .include