From owner-freebsd-gnome@FreeBSD.ORG Mon Jun 7 15:52:08 2010 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAEE81065677; Mon, 7 Jun 2010 15:52:08 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C33518FC08; Mon, 7 Jun 2010 15:52:08 +0000 (UTC) Received: by pwj1 with SMTP id 1so1959276pwj.13 for ; Mon, 07 Jun 2010 08:52:08 -0700 (PDT) Received: by 10.142.150.40 with SMTP id x40mr10835249wfd.27.1275925928255; Mon, 07 Jun 2010 08:52:08 -0700 (PDT) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id 20sm3130630pzk.3.2010.06.07.08.52.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Jun 2010 08:52:07 -0700 (PDT) Received: by sunpoet.net (Postfix, from userid 1000) id 5977D2AEC57D; Mon, 7 Jun 2010 23:51:51 +0800 (CST) To: FreeBSD-gnats-submit@freebsd.org From: Sunpoet Po-Chuan Hsieh X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20100607155151.5977D2AEC57D@sunpoet.net> Date: Mon, 7 Jun 2010 23:51:51 +0800 (CST) Cc: gnome@FreeBSD.org Subject: [PATCH] textproc/libxslt: remove USE_GETTEXT=yes X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2010 15:52:09 -0000 >Submitter-Id: current-users >Originator: Sunpoet Po-Chuan Hsieh >Organization: SUNPOET.net >Confidential: no >Synopsis: [PATCH] textproc/libxslt: remove USE_GETTEXT=yes >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 8.1-PRERELEASE amd64 >Environment: System: FreeBSD bonjour.sunpoet.net 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Wed May 19 00:13:00 CST 2010 >Description: gettext dependency was added to libxslt if CRYPTO option is on (by default). However, libxslt does not link against gettext library if libgpg-error was built without NLS support (WITHOUT_NLS option). Thus I think USE_GETTEXT should be removed. Dependency tree: libxslt ---> libgcrypt ---> libgpg-error ---> gettext depends on (conditional) Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: % cd /usr/ports/security/libgpg-error % make WITHOUT_NLS=yes install % cd /usr/ports/textproc/libxslt % make -V WITH_CRYPTO true % make install % ldd /usr/local/lib/libexslt.so.8 /usr/local/lib/libxslt.so.2 /usr/local/lib/libexslt.so.8: libgcrypt.so.16 => /usr/local/lib/libgcrypt.so.16 (0x800c00000) libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0 (0x800d71000) libxslt.so.2 => /usr/local/lib/libxslt.so.2 (0x800e74000) libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x800faa000) libz.so.5 => /lib/libz.so.5 (0x8011e8000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x8012fc000) libm.so.5 => /lib/libm.so.5 (0x8014fe000) libc.so.7 => /lib/libc.so.7 (0x800645000) /usr/local/lib/libxslt.so.2: libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x800c00000) libz.so.5 => /lib/libz.so.5 (0x800e3e000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x800f52000) libm.so.5 => /lib/libm.so.5 (0x801154000) libc.so.7 => /lib/libc.so.7 (0x800645000) >Fix: --- libxslt-1.1.26_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/libxslt/Makefile /usr/ports/sunpoet/libxslt/Makefile --- /usr/ports/textproc/libxslt/Makefile 2010-06-03 09:02:11.000000000 +0800 +++ /usr/ports/sunpoet/libxslt/Makefile 2010-06-05 19:29:33.000000000 +0800 @@ -46,7 +46,6 @@ .if defined(WITH_CRYPTO) LIB_DEPENDS+= gcrypt.16:${PORTSDIR}/security/libgcrypt -USE_GETTEXT= yes .else CONFIGURE_ARGS+=--without-crypto .endif --- libxslt-1.1.26_1.patch ends here ---