ports/122674: Use CPAN macro in all ports
Philip M. Gollucci
pgollucci at p6m7g8.com
Fri Apr 11 22:10:02 UTC 2008
>Number: 122674
>Category: ports
>Synopsis: Use CPAN macro in all ports
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 11 22:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Philip M. Gollucci
>Release: FreeBSD 8.0-CURRENT i386
>Organization:
Riderway Inc.
>Environment:
System: FreeBSD piccollo.p6m7g8.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Mar 2 09:48:59 EST 2008 root at krillin.p6m7g8.net:/usr/obj/usr/src/sys/PICCOLLO i386
>Description:
Take advantage of CPAN macro from bsd.sites.mk
>How-To-Repeat:
>Fix:
Essentially,
mfiles=`grep -Rl \{MASTER_SITE_PERL_CPAN\} /space/portstrees/CPAN/ports`
for makefile in $mfiles; do
echo "===========> $makefile"
sed -i '' \
-e 's,\${MASTER_SITE_PERL_CPAN},CPAN,' \
-e '/^MASTER_SITE_SUBDIR/d' \
$makefile
dir=`echo $makefile |sed -e 's,/Makefile$,,'`
cd $dir
make fetch DISTDIR=/tmp/cpan
done
Undo changes to ports that fetch broke for.
In total ~2165 ports are changed.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list