From owner-svn-ports-head@FreeBSD.ORG Wed Jul 2 18:20:34 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C04216C2; Wed, 2 Jul 2014 18:20:34 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1C55223E; Wed, 2 Jul 2014 18:20:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s62IKYPD009091; Wed, 2 Jul 2014 18:20:34 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s62IKYf5008933; Wed, 2 Jul 2014 18:20:34 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201407021820.s62IKYf5008933@svn.freebsd.org> From: Tijl Coosemans Date: Wed, 2 Jul 2014 18:20:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360238 - head/textproc/stardict3 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.18 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: Wed, 02 Jul 2014 18:20:34 -0000 Author: tijl Date: Wed Jul 2 18:20:33 2014 New Revision: 360238 URL: http://svnweb.freebsd.org/changeset/ports/360238 QAT: https://qat.redports.org/buildarchive/r360238/ Log: - Add USES=libtool - Fix problem with DATADIRNAME by setting CPPFLAGS/LIBS instead of patching - Silence post-patch Modified: head/textproc/stardict3/Makefile head/textproc/stardict3/pkg-plist Modified: head/textproc/stardict3/Makefile ============================================================================== --- head/textproc/stardict3/Makefile Wed Jul 2 18:18:37 2014 (r360237) +++ head/textproc/stardict3/Makefile Wed Jul 2 18:20:33 2014 (r360238) @@ -3,7 +3,7 @@ PORTNAME= stardict PORTVERSION= 3.0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= GOOGLE_CODE DIST_SUBDIR= stardict @@ -20,8 +20,9 @@ CONFIGURE_ARGS= --disable-festival \ --disable-gucharmap \ --disable-espeak \ --disable-updateinfo -LIBS= -L${LOCALBASE}/lib -USES= tar:bzip2 gettext gmake pathfix pkgconfig +CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib +USES= gettext gmake libtool pathfix pkgconfig tar:bzip2 CONFIGURE_WRKSRC= ${WRKSRC}/dict BUILD_WRKSRC= ${CONFIGURE_WRKSRC} INSTALL_WRKSRC= ${CONFIGURE_WRKSRC} @@ -47,13 +48,14 @@ MAKE_ARGS+= AUTOMAKE="${TRUE}" ACLOCAL=" post-patch: .if !${PORT_OPTIONS:MGNOME} - ${REINPLACE_CMD} -e '/DATADIRNAME=lib/s,lib,share,' ${WRKSRC}/dict/m4/intltool.m4 - ${REINPLACE_CMD} -e '/^SUBDIRS/s,help,,' ${WRKSRC}/dict/Makefile.in - ${REINPLACE_CMD} -e '/^GNOME_DOC_INIT/d' \ + @${REINPLACE_CMD} -e '/^SUBDIRS/s,help,,' ${WRKSRC}/dict/Makefile.in + @${REINPLACE_CMD} -e '/^GNOME_DOC_INIT/d' \ -e '/^help\/Makefile/d' ${WRKSRC}/dict/configure.ac .endif - ${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,g' \ + @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,g' \ ${WRKSRC}/dict/src/conf.cpp + @${REINPLACE_CMD} '/^stardict_LDADD =/s/$$/ -lgmodule-2.0/' \ + ${WRKSRC}/dict/src/Makefile.in pre-configure: cd ${WRKSRC}/lib && \ Modified: head/textproc/stardict3/pkg-plist ============================================================================== --- head/textproc/stardict3/pkg-plist Wed Jul 2 18:18:37 2014 (r360237) +++ head/textproc/stardict3/pkg-plist Wed Jul 2 18:20:33 2014 (r360238) @@ -1,23 +1,13 @@ bin/stardict -lib/stardict/plugins/stardict_dictdotcn.la lib/stardict/plugins/stardict_dictdotcn.so -lib/stardict/plugins/stardict_html_parsedata.la lib/stardict/plugins/stardict_html_parsedata.so -lib/stardict/plugins/stardict_man.la lib/stardict/plugins/stardict_man.so -lib/stardict/plugins/stardict_powerword_parsedata.la lib/stardict/plugins/stardict_powerword_parsedata.so -lib/stardict/plugins/stardict_qqwry.la lib/stardict/plugins/stardict_qqwry.so -lib/stardict/plugins/stardict_spell.la lib/stardict/plugins/stardict_spell.so -lib/stardict/plugins/stardict_wiki_parsedata.la lib/stardict/plugins/stardict_wiki_parsedata.so -lib/stardict/plugins/stardict_wordnet.la lib/stardict/plugins/stardict_wordnet.so -lib/stardict/plugins/stardict_wordnet_parsedata.la lib/stardict/plugins/stardict_wordnet_parsedata.so -lib/stardict/plugins/stardict_xdxf_parsedata.la lib/stardict/plugins/stardict_xdxf_parsedata.so %%GNOME%%libdata/bonobo/servers/GNOME_Stardict.server man/man1/stardict.1.gz