Commit graph

309 commits

Author SHA1 Message Date
ahoka
343d3b6580 Don't try to use objformat on FreeBSD 7.0 and newer. 2008-07-30 23:07:52 +00:00
he
4a2152fa65 Apply a patch from Debian to fix the security vulnerability identified
by http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1927.

Patch fetched from
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=27_fix_regcomp_utf8;att=1;bug=454792
which, according to comments, is from upstream change 27688.

Revision bumped to nb8.
2008-06-01 22:04:07 +00:00
wiz
e8062cdd4e Add missing single quote. Fixes build on -current. 2008-04-28 22:24:22 +00:00
tnn
bc4d9b2fea Don't pass ABI flags on IRIX, compiler.mk already handles this through
_WRAP_EXTRA_ARGS.
2008-02-19 19:28:39 +00:00
tnn
938185d649 A nasty side effect of using TOOLS_SED here is that perl will try to
outsmart us and call the tool by name in some parts of the build.
eg just "nbsed" instead of "/usr/pkg/bin/nbsed". This can only have
worked before as long as ${PREFIX}/bin was in the user's path.
Fix this by TOOLS_ALIASES.sed+=${TOOLS_SED:T} so that an "nbsed"
is available in the PATH.
2008-02-09 13:58:46 +00:00
tnn
8878d87b25 Rewrote vars.mk so that perl is only invoked once, as opposed to once
per value to fetch.
2008-01-29 16:41:36 +00:00
joerg
fcb48c5b42 Appease pkglint^Wrillig and add a note for patch-as. 2008-01-13 00:20:22 +00:00
joerg
29c756efc4 Fix build on newer Linux systems. 2008-01-12 15:12:39 +00:00
apb
a50179c5f5 bump PKGREVISION for previous change to patch-ah. 2008-01-08 16:43:31 +00:00
apb
71e9b52b3a NetBSD's /proc/${pid}/exe is sometimes a symlink to "/" instead of to the
actual program name, so Perl's $^X or $EXECUTABLE_NAME variable was wrong.
Change a test to detect this case, and fall back to using argv[0].
2008-01-08 15:19:38 +00:00
minskim
cbe7d044cb Set LIBSWANTED for Linux as suggested by jlam in PR 31088. 2007-12-22 21:03:31 +00:00
minskim
8e00045f53 Properly fix the problem that 1.40 addressed. PERL5_REQD should be
treated as a list.
2007-11-21 22:49:45 +00:00
joerg
3931e7859f Back out 1.37 as it breaks PERL5_REQD (e.g. show-depends in
mail/p5-Email-Send).
2007-11-21 21:50:43 +00:00
obache
048777e0e3 Need to include vars.mk for ${PERL5_SUB_INSTALLARCHLIB}. 2007-11-21 14:15:11 +00:00
minskim
24ad30c540 When buildlinking perl, set PERL5 to pkgsrc perl, not the one selected
by the tools framework.
2007-11-19 03:53:10 +00:00
minskim
4fd3a33d7e Bump PKGREVISION because of the mk/tools/perl.mk changes. There was
a window during which perllink didn't work properly on Darwin.
2007-11-19 00:49:29 +00:00
minskim
8cfdb52849 If perl is buildlinked, used perl in ${BUILDLINK_PREFIX.perl} and
do not rely on the tools framework.
2007-11-18 21:44:56 +00:00
adrianp
824183de3d For the moment disable the building of a shared libperl.dylib on Darwin
=> 9.0 as it breaks the build.  This should just be considered a temporary
work around until the actual problem can be fixed as this worked for
Darwin < 9.0.

There are no changes to perl on any other platforms.

This should address PR# 37225
2007-11-18 00:42:50 +00:00
martti
9afb20a137 Added commented-out LICENSE=something. 2007-11-11 11:35:48 +00:00
drochner
498b7582af add a patch from Redhat bugzilla #323571 to fix CVE-2007-5116:
A flaw was found in Perl's regular expression engine. Specially crafted
input to a regular expression can cause Perl to improperly allocate memory,
possibly resulting in arbitrary code running with the permissions of the
user running Perl.
2007-11-06 19:54:52 +00:00
rillig
43ba2d75f0 Don't assume any pre-installed perl5. This is necessary for pbulk builds
when Perl is installed in the "outer" pkgsrc. Otherwise, references to
the pbulk directory are stored in the binary package.
2007-09-06 16:31:38 +00:00
tnn
1b4e6adfd0 A subtle change introduced in gcc-4.2.x broke perl's makedepend script.
The name of the "standard input file" in the preprocessor was changed from
<command line> to <command-line>. Make makedepend recognize this.
2007-08-04 10:27:58 +00:00
heinz
3449f06ac1 Enable installation to DESTDIR for all packages based on Module::Build. 2007-05-26 12:46:20 +00:00
tnn
f19ab3d33a patch-cn: hpux: don't use absolute path to ld(1) 2007-04-21 15:32:15 +00:00
rillig
0faa35202e The error messages on AIX are weird, but maybe someone understands them. 2007-04-21 09:41:00 +00:00
dmcmahill
f6793deab5 Commit the patch from PR pkg/35319 which should fix perl compilation on
newer versions (11) of solaris.  Verified that the 'bmake test' output
is unchanged on 32-bit solaris-2.9/sparc.
2007-02-06 19:12:09 +00:00
rillig
c6036da639 This package is not MAKE_JOBS_SAFE. 2007-01-19 14:59:06 +00:00
rillig
80770fe7e6 Oops, forgot to add a default value for PERL5_USE_PACKLIST and to test
the change at all.
2007-01-15 05:36:04 +00:00
rillig
e50e8ac3cf Added a new variable PERL5_USE_PACKLIST that decides whether the Perl
packlist is used to generate the pkgsrc PLIST. This is the case for most
of the Perl modules, so the default value is "yes".

Currently, there is no change in functionality. After some further
testing, the default will be that a Perl module provides a packlist and
needs to say if it doesn't.
2007-01-15 05:32:04 +00:00
rillig
02c39c55d6 ABI is usually undefined, so a defined() check is needed. 2007-01-08 07:13:54 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
joerg
d5a346e1ba Further improve packlist logic to handle DESTDIR for Perl modules
as well. Perl itself is special as the DESTDIR does *not* end up
in the packlist, but for normal modules it does.
2006-11-03 10:48:05 +00:00
joerg
f0f238c0cf DESTDIR support. Slightly refactor Perl build to avoid calling the newly
build executable, either by using the same constants or by sourcing the
config.sh script created by Configure.

Don't create $installsitearch and don't attempt to remove
$installvendorarch, the former is easy and the latter not needed.
2006-11-03 07:09:45 +00:00
ben
9af81a7cb2 Remove extraneous interix change from patch-cb.
Perhaps this change was accepted upstream, and not yet removed from pkgsrc.
2006-10-08 17:48:30 +00:00
rillig
bc85a438af PERL5_CONFIGURE_DIRS may now contain directory names relative to
${WRKSRC}. This saves some keystrokes when writing Makefiles.
2006-10-04 22:24:49 +00:00
rillig
a3de4e93a9 Only do the build and test actions when NO_BUILD does not prevent them. 2006-10-04 21:31:34 +00:00
rillig
47f5af86d0 Added a debugging option to the package (disabled by default). 2006-10-01 14:48:39 +00:00
tron
79acc7c0cb Remove changes added by Perl's configure script. Problem pointed out
by Thomas Klausner.
2006-08-08 15:36:00 +00:00
tron
ed199a1141 Make this build under NetBSD 4.x. 2006-08-08 15:27:36 +00:00
jlam
ded09b6f3d Consistently use $perlprog to refer to the perl executable in the
perllink script.  This was causing errors when building perl from
pkgsrc.  The perllink script didn't create any symlinks because it
tried to invoke "perl", which silently fails with revision 1.20 of
mk/tools/perl.mk (after the pkgsrc-2006Q2 branch).

Bump the PKGREVISION to 3.
2006-07-19 18:10:32 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
853dc340f9 Added a patch for t/io/fs.t, which handles filesystems that are mounted
with the "noatime" option on NetBSD.
2006-07-02 20:35:53 +00:00
jlam
e811379bc2 Pluralize INSTALL_TEMPLATE and DEINSTALL_TEMPLATE variable names as per
the pkglint warning:

    As {INSTALL,DEINSTALL}_TEMPLATE is modified using "+=", its name
    should indicate plural.

This does make the variables a bit more suggestive of the fact that they
hold lists of values.
2006-06-15 22:13:58 +00:00
rillig
4a96d61132 Fixed pkglint warnings. 2006-06-09 08:50:24 +00:00
rillig
560fc65286 bsd.prefs.mk only needs to be included once. 2006-06-09 08:38:53 +00:00
jlam
dc6d990317 GCC versions prior to 3.4 have a bug handling the "unused" attribute
in declarations when compiling C++ code.  Patch the perl.h and XSUB.h
headers to avoid using this attribute if using GCC<3.4 and building
C++ modules.  This fixes PR pkg/33403 by OBATA Akio.

Bump PKGREVISION to 2.
2006-05-06 12:32:20 +00:00
jlam
92f0b330ce Error out if the packlist isn't specified correctly, so we don't pretend
to have a working PLIST and a successful installation.
2006-05-02 02:28:24 +00:00
jlam
202af48c33 Put any compiled binaries into vendor- and site-specific locations to
avoid conflicts with each other.  We let the perllink script handle all
the appropriate symlinking.  Bump PKGREVISION to 1.
2006-04-11 22:51:23 +00:00
jlam
87cd0b8d86 Ensure that perl uses /bin/sh (or the appropriate functional equivalent)
for executing shell commands.  Fix from PR pkg/32812 by Anne Bennett.
2006-04-09 07:11:13 +00:00