ports/137430: [patch] audio/xmms2: update to 0.6

Anonymous swell.k at gmail.com
Tue Aug 4 16:10:03 UTC 2009


The following reply was made to PR ports/137430; it has been noted by GNATS.

From: Anonymous <swell.k at gmail.com>
To: bug-followup at 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 ---



More information about the freebsd-ports-bugs mailing list