From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 4 16:10:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D58E21065676 for ; Tue, 4 Aug 2009 16:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C3F028FC0A for ; Tue, 4 Aug 2009 16:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n74GA2Jh065738 for ; Tue, 4 Aug 2009 16:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n74GA2RS065737; Tue, 4 Aug 2009 16:10:02 GMT (envelope-from gnats) Date: Tue, 4 Aug 2009 16:10:02 GMT Message-Id: <200908041610.n74GA2RS065737@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Anonymous Cc: Subject: Re: ports/137430: [patch] audio/xmms2: update to 0.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anonymous List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 16:10:03 -0000 The following reply was made to PR ports/137430; it has been noted by GNATS. From: Anonymous To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/137430: [patch] audio/xmms2: update to 0.6 Date: Tue, 04 Aug 2009 20:08:07 +0400 The second hunk in ${PATCHDIR}/patch-wscript is broken because of missing space before '-m'. Compilation and installation finished successfully (00:00:00) /sbin/ldconfig-m: not found ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for xmms2-0.6 Besides, there is no need to make waf run ldconfig when USE_LDCONFIG already does so. So it's better to remove that block. --- patch-wscript begins here --- --- wscript~ +++ wscript @@ -297,7 +297,7 @@ def configure(conf): conf.env['PKGCONFIGDIR'] = Options.options.pkgconfigdir print(conf.env['PKGCONFIGDIR']) else: - conf.env['PKGCONFIGDIR'] = os.path.join(conf.env["PREFIX"], "lib", "pkgconfig") + conf.env['PKGCONFIGDIR'] = os.path.join(conf.env["PREFIX"], "libdata", "pkgconfig") if Options.options.config_prefix: for dir in Options.options.config_prefix: @@ -476,12 +476,5 @@ def set_options(opt): opt.sub_options(o) def shutdown(): - if Options.commands['install'] and os.geteuid() == 0: - ldconfig = '/sbin/ldconfig' - if os.path.isfile(ldconfig): - libprefix = Utils.subst_vars('${PREFIX}/lib', Build.bld.env) - try: Utils.cmd_output(ldconfig + ' ' + libprefix) - except: pass - if Options.options.run_tests: os.system(os.path.join(os.getenv('WAF_HOME'), "default/tests/test_xmmstypes")) --- patch-wscript ends here ---