ports/149771: mail/p5-Mail-SpamAssassin port no longer installs binaries in /usr/local/bin

Peter Radcliffe pir-freebsd.org at pir.net
Thu Aug 19 12:30:04 UTC 2010


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

From: Peter Radcliffe <pir-freebsd.org at pir.net>
To: bug-followup at FreeBSD.org
Cc: michael.scheidell at secnap.com
Subject: Re: ports/149771: mail/p5-Mail-SpamAssassin port no longer
 installs binaries in /usr/local/bin
Date: Thu, 19 Aug 2010 13:25:52 +0100

 I've tracked this down.
 
 INSTALLSCRIPT = /usr/local/bin
 DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
 INSTALLSITESCRIPT = /usr/local/script
 DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT)
 
 pure_site_install uses DESTINSTALLSCRIPT whereas pure_perl_install uses
 DESTINSTALLSITESCRIPT.
 
 This comes from the perl configs:
 /usr/local/lib/perl5/5.10.1/mach/Config_heavy.pl:installsitescript='/usr/local/script'
 
 Presumably this is auto-configured because /usr/local/script exists on
 my system and I built perl from ports rather than installing a
 package.
 
 On my colo jail, which has a packaged perl:
 installsitescript='/usr/local/bin'
 
 So either this is a bug in the perl port build, it should be
 consistant if /usr/local/script exists or not, or this is a bug in the
 SA port because it ends up installing to /usr/local/script when the
 package contents say /usr/local/bin.
 
 P.
 
 -- 
 pir
 



More information about the freebsd-ports-bugs mailing list