Alien-Tidyp
view release on metacpan or search on metacpan
1.4.7 31/05/2011
- fixed http://www.cpantesters.org/cpan/report/b74b5c2c-6fa9-1014-aa8f-4b9555dfede8 (force nmake for MSVC build)
- fixed http://www.cpantesters.org/cpan/report/138b45f2-4b6f-11e0-afaf-8138785ebe45 (ar not in PATH on solaris)
1.4.6 10/03/2011
- fixed http://www.cpantesters.org/cpan/report/8446953a-4287-11e0-bace-65d4790d71a6 (devnull)
- fixed http://rt.cpan.org/Ticket/Display.html?id=66382 (MacOSX 10.6.6 failure)
1.4.5 26/11/2010
- alternative dowload location (too many cpan testers fail to download tarball from github)
- config.guess + config.sub hack (DragonFly BSD failure)
1.4.4 05/11/2010
- more error info in case of sha1 checksum failure
- cosmetic POD changes
- new option: Build.PL --srctarball=<url_or_filename>
1.4.3 25/09/2010
- using File::Path legacy functions (works with File::Path <2.0 e.g. RHEL5)
1.4.2 23/09/2010
Build.PL
Changes
inc/My/Builder.pm
inc/My/Builder/Unix.pm
inc/My/Builder/Windows.pm
lib/Alien/Tidyp.pm
MANIFEST This list of files
META.yml
patches/config.guess
patches/config.sub
patches/Makefile.mingw
patches/Makefile.nmake
README
sharedir/share
t/00-load.t
t/10-config.t
t/20-compile.t
t/pod-coverage.t
t/pod.t
inc/My/Builder/Unix.pm view on Meta::CPAN
use File::Spec::Functions qw(catdir catfile rel2abs);
use File::Spec;
use Config;
sub build_binaries {
my ($self, $build_out, $srcdir) = @_;
$srcdir ||= 'src';
my $prefixdir = rel2abs($build_out);
$self->config_data('build_prefix', $prefixdir); # save it for future ConfigData
#hack - use updated config.guess + config.sub - remove when fixed in tidyp distribution
require File::Copy;
File::Copy::copy("patches/config.sub","$srcdir/config.sub");
File::Copy::copy("patches/config.guess","$srcdir/config.guess");
#end of hack
chdir $srcdir;
# do './configure ...'
my $run_configure = 'y';
$run_configure = $self->prompt("Run ./configure again? (y/n)", "n") if (-f "config.status");
if (lc($run_configure) eq 'y') {
my @cmd = ( './configure', '--enable-shared=no', '--disable-dependency-tracking', "--prefix=$prefixdir");
if ($^O eq 'darwin') {
patches/config.guess view on Meta::CPAN
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
timestamp='2010-09-24'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
patches/config.guess view on Meta::CPAN
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Per Bothner. Please send patches (context
# diff format) to <config-patches@gnu.org> and include a ChangeLog
# entry.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
me=`echo "$0" | sed -e 's,.*/,,'`
usage="\
Usage: $0 [OPTION]
Output the configuration name of the system \`$me' is run on.
Operation modes:
-h, --help print this help, then exit
-t, --time-stamp print date of last modification, then exit
-v, --version print version number, then exit
Report bugs and patches to <config-patches@gnu.org>."
version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
help="
patches/config.guess view on Meta::CPAN
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
SUN_ARCH="x86_64"
fi
fi
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
# it's likely to be more like Solaris than SunOS4.
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
sun4*:SunOS:*:*)
case "`/usr/bin/arch -k`" in
Series*|S4*)
UNAME_RELEASE=`uname -v`
;;
esac
# Japanese Language versions have a version number like `4.1.3-JL'.
patches/config.guess view on Meta::CPAN
fi ;;
esac
if [ ${HP_ARCH} = "hppa2.0w" ]
then
eval $set_cc_for_build
# hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
# 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
# generating 64-bit code. GNU and HP use different nomenclature:
#
# $ CC_FOR_BUILD=cc ./config.guess
# => hppa2.0w-hp-hpux11.23
# $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
# => hppa64-hp-hpux11.23
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
grep -q __LP64__
then
HP_ARCH="hppa2.0w"
else
HP_ARCH="hppa64"
fi
fi
patches/config.guess view on Meta::CPAN
c38*)
echo c38-convex-bsd
exit ;;
c4*)
echo c4-convex-bsd
exit ;;
esac
fi
cat >&2 <<EOF
$0: unable to guess system type
This script, last modified $timestamp, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run ($0) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = $timestamp
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
hostinfo = `(hostinfo) 2>/dev/null`
( run in 1.113 second using v1.01-cache-2.11-cpan-702932259ff )